Commits


better malloc size idiom in insert_ref()


move assignment closer to check in parse_ref_file()


properly handle duplicates when calling insert_ref()


don't leak 'new' in insert_ref()


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