Commits
- Commit:
d83d9d5c431189537fc94c38a85ce2b8e3217f5d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make it possible to duplicate another reference with 'got ref'
- Commit:
314a6357a2a91eaa8a8f0f04dcfa5b26a59c4fb2
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
got commit can't use unveil with an editor
Theo says unveil(2) is supposed to traverse exec(2) (though
this seems to be broken or not implemented at present).
In which case the commmit message editor would find itself
without access to files it needs (startup config files,
shared libs, user's home dir, etc.)
Apply unveil after the log message has been written.
- Commit:
0ee7065d8d7e2f4c85b8e806bda98645435f08ac
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'got commit' look up EDITOR in PATH
The previous code only worked if EDITOR contained an absolute path.
- Commit:
163ce85a13ddbd7c84d644af2552238bdd98896f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
apply_unveil() doesn't call err(3) so rename 'error' to 'err'
- Commit:
3809565b92202a502ca949520da8ebdc4a1320e8
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
missing error check in apply_unveil()
- Commit:
638f9024045bbe2420143f8868dcc484c231c634
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
rename got_error_prefix_errno() to got_error_from_errno()
- Commit:
e0870e443a8dfb50091e64747658a3e0740f82bb
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
store commit message in work tree and leave it there in case of error
- Commit:
e2ba3d0783eb02d645fa15d937c911565bec60f7
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
reenable unveil for 'got commit'; keep spawn_editor() working
- Commit:
cc5481cb036883dee0ba8b5d95c085131ae3c356
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove pointless goto in collect_commit_logmsg()
- Commit:
fcde04d9acbe8328a5e476c6d1391b563ea14783
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
another malloc failure check in collect_commit_msg()
- Commit:
793c30b5d7b2959c83174499b64578dde045f9ee
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use got_opentemp_named_fd() in collect_commit_logmsg()
- Commit:
9f42ff692bc2cb443e1aa112484d293022ce3a30
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
check malloc failure in collect_commit_logmsg()
- Commit:
d5bea53959deb7a1dd486dce9bca4f295c12589b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix linear ancestry verification check for 'got update'
- Commit:
33ad4cbe5926c7fe36929934d68a000fe19dafa3
- From:
- joshua stein <jcs@jcs.org>
- Date:
implement spawning an editor to collect a commit message
bails on empty messages, trims leading and trailing newlines
this currently disables the unveil in the commit process because
it's not compatible with spawning the editor
also prevent commits when there are no changes
- Commit:
bd14628f607b07c5bb661e33c69e4079811b4514
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
update help string of 'got add' for multiple file support
- Commit:
280f921b7f983840bfb1f82e25c054ce55034924
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
heed API namespace: got_dir_is_empty -> got_path_dir_is_empty
- Commit:
3c45a30aebce27db2fb0f5b453695260456bacc9
- From:
- joshua stein <jcs@jcs.org>
- Date:
checkout: if worktree path exists and is empty, suppress mkdir failure
- Commit:
2f17228ee55ecd8c69a9d0dac94841c7894d0d6d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
lock branch reference file during 'got commit' to prevent a race
- Commit:
fbb7e5c7d46ba5854dbb9fe5c26725e6edea28f1
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
got add's file path argument is not optional
- Commit:
8125ddca50d061b9b48b5bafce84777d9bb6ba76
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
update 'got add' documentation
- Commit:
1dd5492090bfc3d9e553b4306a3cca1f03adaa71
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
open the file index just once when adding multiple files
- Commit:
2af4a0419220dba40c25f0f6af548638b5ae3a1b
- From:
- joshua stein <jcs@jcs.org>
- Date:
got_error_set_errno: take a char arg to pass to got_error_prefix_errno
$> got rm a
got: : No such file or directory
becomes
$> got rm a
got: /path/to/a: No such file or directory
- Commit:
723c305ce4ed16a470bbf2ced142668b5a633f03
- From:
- joshua stein <jcs@jcs.org>
- Date:
got: support adding multiple files at a time
make adding files already in the file-index not a fatal error
- Commit:
656b1f76d3a6f52318782284fa83ae47894cbffb
- From:
- joshua stein <jcs@jcs.org>
- Date:
while (1) -> for (;;)
- Commit:
230a42bdc60c6136d2a5ce65bf1a2f26d990c096
- From:
- joshua stein <jcs@jcs.org>
- Date:
got_error_from_errno -> got_error_prefix_errno
also add got_error_prefix_errno2 and got_error_prefix_errno3 which
should hopefully all be merged into a single function with variadic
args (but can't alloc mem)