Commits


use sizeof instead of SHA1_DIGEST_LENGTH in memcpy


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()