Commits


make moved branch head references easier to deal with


rename got log's -f option to -b


inform the user when switching branches


move a comment to a better place and expand it


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.


catch fopen(3) failure in collect_commit_logmsg()


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