Commit Briefs

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


1dd5492090 Stefan Sperling

open the file index just once when adding multiple files


2af4a04192 joshua stein

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


723c305ce4 joshua stein

got: support adding multiple files at a time

make adding files already in the file-index not a fatal error


656b1f76d3 joshua stein

while (1) -> for (;;)