Commits


introduce got_ref_list_free() and use it in got and tog


add 'got ref' subcommand; no support for symbolic refs yet


make got show command-specific usage if command is used wrongly


unveil worktree in cmd_log(); fixes 'got log path/to/file'


got: fix memory leak in print_commit()


check for errors from fclose()


check for fflush() errors


allow restricting 'got diff' and 'got status' to a path in work tree


make 'got diff' not show a diff header if work tree has no mods


make 'got tree' identify executable files


show commit id after update even if all files were missing


make 'got update' restore missing files


preserve executable bit on files during checkout and update


fix typo in status code name: GOT_STATUS_MODIFIY -> GOT_STATUS_MODIFY


don't bother showing the HEAD ref in 'got log'


make 'got diff' show local changes in work tree


port fix for a work tree path bug from 'tog blame' to 'got blame'


wrap overlong line


make 'got blame' function in a work tree


fix got_worktree_open() error check in cmd_tree()


make 'got log' function inside a work tree


make 'got tree' behave as advertised in subdirs of a work tree


make 'got update' unveil the root dir of the worktree


make 'got status' work in subdirectories of a work tree


make 'got tree' work from inside a work tree