Commits


better fparseln error handling and memory leak fix in got_ref_list()


better foarseln() error handling in open_packed_ref()


plug memleak in alloc_ref()


plug memleak in got_ref_resolve()


set an is_packed flag on refs parsed from packed-refs file


plug two memory leaks when refs get closed


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


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


move worktree base refs into a subdirectory


introduce got_path_dirname()


fix dirname() usage errors around got_path_mkdir()


fix broken error checking in got_ref_write()


move worktree-specific error handling out of got_path_mkdir()


'got update' also needs repo write access now


fix allocation size bug in got_lockfile_lock()


remove path portion from worktree base commit ref name


deduplicate code for constructing a worktree's base ref name


refuse to create got worktree at a git repo path


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


add got_ref_delete(); only loose refs supported for now


fix off-by-one in fwrite() check in got_ref_write()


make got_ref_write() work for refs which do not exist yet


fix bug in got_lockfile_lock() where it never succeeded