Commits


make struct got_commitable opaque to library users


introduce got_error_path()


apply_unveil(): use GOT_DIR_NOT_EMPTY


fix wording in error message


make 'got log' default to the current branch in a work tree


make 'got checkout' verify that specified branch and commit match


make 'got update' verify that provided commit and branch match


another typo fix


fix typo in comment


add branch support to 'got update'


add branch support to 'got checkout'


report base commit of fileindex entries to status callback


make it possible to duplicate another reference with 'got ref'


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.


make 'got commit' look up EDITOR in PATH The previous code only worked if EDITOR contained an absolute path.