Commits


introduce got_worktree_resolve_path()


make 'got log PATH' work consistently from inside a work tree


'got ref -l' can do without cpath and fattr pledges


make 'got log' and 'tog log' skip revs in the got/ namespace


'got update' also needs repo write access now


create references to base commits of got worktrees


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