Commit Briefs

Stefan Sperling

introduce got_error_path()


Stefan Sperling

apply_unveil(): use GOT_DIR_NOT_EMPTY


Stefan Sperling

fix wording in error message





Stefan Sperling

another typo fix


Stefan Sperling

fix typo in comment


Stefan Sperling

add branch support to 'got update'


Stefan Sperling

add branch support to 'got checkout'




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.


Stefan Sperling

make 'got commit' look up EDITOR in PATH

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



Stefan Sperling

missing error check in apply_unveil()










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