Commits


rename 'intent-to-add' file index flag to 'not-on-disk'


implement support for packed refs in 'got ref -d'


fix uninitialized variable in insert_ref()


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


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