Commits


introduce support for abbreviated object IDs


add 'got branch' command


make default usage fit on one line; de-duplicates man page info


fix usage() call in cmd_init()


implement 'got init'


don't report base-bump-only updates as 'already up to date'


make 'got diff object1 object2' work from inside a work tree


sync usage for 'got rm'


allow multiple file path arguments for 'got revert'


show branch name in got commit's log message template


consistently use leading upper-case for messages indicating success


allow removing multiple paths at once for 'got rm'


add 'got backout' command


allow 'got cherrypick' with a root commit (adds all files in commit)


add 'got cherrypick' command


generalize got_diff_tree() by adding a diff output callback


make 'got diff' display absolute reference names


mark const variables as such


make it possible to pass reference names to 'got diff'


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()