5 years ago 1b3893a25b Stefan Sperling
prevent free with bogus pointer in 'got log' error path
5 years ago e730157933 Stefan Sperling
fix 'got log PATH' in a bare git repository; broken by previous
5 years ago 6c7ab9213e Stefan Sperling
introduce got_worktree_resolve_path()
5 years ago cbd1af7a5a Stefan Sperling
make 'got log PATH' work consistently from inside a work tree
5 years ago c2ac94566e Stefan Sperling
add missing 'static' for local functions
5 years ago a0bf6e7678 Stefan Sperling
rename 'intent-to-add' file index flag to 'not-on-disk'
5 years ago 598a8b9185 Stefan Sperling
implement support for packed refs in 'got ref -d'
5 years ago 6249107b89 Stefan Sperling
fix uninitialized variable in insert_ref()
5 years ago 80d5fc1f55 Stefan Sperling
use sizeof instead of SHA1_DIGEST_LENGTH in memcpy
5 years ago 6fdbf7b046 Stefan Sperling
better malloc size idiom in insert_ref()
5 years ago c0a1c01633 Stefan Sperling
move assignment closer to check in parse_ref_file()
5 years ago 505287bea1 Stefan Sperling
properly handle duplicates when calling insert_ref()
5 years ago 27a1ed032f Stefan Sperling
don't leak 'new' in insert_ref()
5 years ago 0bb4abaee2 Stefan Sperling
better fparseln error handling and memory leak fix in got_ref_list()
5 years ago 7ab0422aff Stefan Sperling
better foarseln() error handling in open_packed_ref()