Commits


make got/tog list commands if -h or an unknown command is provided


require user to type full got command names or short aliases The previous strncmp-based approach was problematic, e.g. "co" was treated as an alias for "commit", while most users will expect "co" to map to "checkout". Introduce explicit aliases and document them.


rename 'struct cmd' to 'struct got_cmd'


disambiguate abbreviated object IDs based on object type


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