5 years ago Stefan Sperling
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
introduce got_path_dirname()
fix dirname() usage errors around got_path_mkdir()
fix broken error checking in got_ref_write()
create references to base commits of got worktrees
introduce got_ref_list_free() and use it in got and tog
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 path construction with empty subdir in open_ref()
implement got_ref_write()
validate ref names
introduce got_ref_alloc()
check for errors from fclose()
make got_ref_open() search on-disk refs before packed-refs
fix insert_ref() to provide ordering similar to path lists
append to tail of reflist, not to the head of the list
make got_ref_list() return a sorted list
on-disk refs must take precedence over packed-refs
internally represent a non-existent ref as NULL rather than as error
include non-packed refs in results from got_ref_list()