Commit Briefs

efa2b6f7f7 Stefan Sperling

another typo fix


d5751d4985 Stefan Sperling

fix typo in comment


024e9686ae Stefan Sperling

add branch support to 'got update'


08573d5b25 Stefan Sperling

add branch support to 'got checkout'


016a88dd43 Stefan Sperling

report base commit of fileindex entries to status callback



314a6357a2 Stefan Sperling

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.


0ee7065d8d Stefan Sperling

make 'got commit' look up EDITOR in PATH

The previous code only worked if EDITOR contained an absolute path.



3809565b92 Stefan Sperling

missing error check in apply_unveil()


638f902404 Stefan Sperling

rename got_error_prefix_errno() to got_error_from_errno()




cc5481cb03 Stefan Sperling

remove pointless goto in collect_commit_logmsg()


fcde04d9ac Stefan Sperling

another malloc failure check in collect_commit_msg()


793c30b5d7 Stefan Sperling

use got_opentemp_named_fd() in collect_commit_logmsg()


9f42ff692b Stefan Sperling

check malloc failure in collect_commit_logmsg()


d5bea53959 Stefan Sperling

fix linear ancestry verification check for 'got update'


33ad4cbe59 joshua stein

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


bd14628f60 Stefan Sperling

update help string of 'got add' for multiple file support





fbb7e5c7d4 Stefan Sperling

got add's file path argument is not optional


8125ddca50 Stefan Sperling

update 'got add' documentation