Commit Briefs

Stefan Sperling

add 'got cherrypick' command




Stefan Sperling

mark const variables as such




Stefan Sperling

rename got log's -f option to -b


Stefan Sperling

inform the user when switching branches



Stefan Sperling

NUL-terminate empty logmsg buffer for strlcat(3)

Because the logmsg output buffer was not NUL-terminated after allocation, strlcat(3) could append log message contents copied from the temporary file at a wrong memory location. In the case observed by me, this bug resulted in a broken commit object.




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.