4 years ago d6fca0ba38 Hiltjo Posthuma
check calloc() for NULL return value
4 years ago c9956ddf7c Stefan Sperling
use author name/email from ~/.gitconfig if GOT_AUTHOR is not set
4 years ago aba9c984d1 Stefan Sperling
obtain repo format version and commit author name/email from .git/config
4 years ago 6b68ccd6c8 Stefan Sperling
prevent theoretical double-free with non-OpenBSD asprintf (found by jasper)
4 years ago f2db9c479f Stefan Sperling
don't mask "not a git repo" errors in got_repo_open()
4 years ago 1d126e2d21 Stefan Sperling
add support for reading .git/config; parser was based on isakmpd/conf.c
4 years ago b8bad2ba42 Stefan Sperling
make 'got tag -l' list tags by time stamp in descending order
4 years ago 29606af7a3 Stefan Sperling
allow got_ref_list() to restrict returned refs to a particular namespace
5 years ago e620954619 Stefan Sperling
untie cancel callback declaration from the work tree
5 years ago d24820bf83 Stefan Sperling
add support for tag objects to 'got diff'
5 years ago 303e2782e0 Stefan Sperling
add support for tags to -c options of some got commands
5 years ago e4167f3067 Stefan Sperling
ignore missing objects/pack dir in match_packed_object()
5 years ago 987345dd45 Stefan Sperling
remove unused variable found in write_tree()
5 years ago b90deaa1e7 Stefan Sperling
don't fail hard if 'objects/pack' directory does not exist in repo
5 years ago 62550b1381 Stefan Sperling
fix path in got_repo_open() error message
5 years ago 6876e2035e Stefan Sperling
remove another pointless call to got_path_normalize()
5 years ago 3ce1b84566 Stefan Sperling
initial 'got import' implementation
5 years ago 2840f71552 Stefan Sperling
new realpath(3) doesn't like receiving an empty path as input
5 years ago 52d1d0d900 Stefan Sperling
fix bug where match_loose_object() skipped some objects
5 years ago 561c367846 Stefan Sperling
fix detection of ambiguous object ID match with pack files
5 years ago dd88155e48 Stefan Sperling
disambiguate abbreviated object IDs based on object type
5 years ago 83c8b3b81d Stefan Sperling
plug leaks in got_repo_match_object_id_prefix()
5 years ago b2df341bd0 Stefan Sperling
put error checks in right order
5 years ago 5903ff6ef1 Stefan Sperling
stop matching loose objects once we've searched past the ID prefix
5 years ago 4277420a1f Stefan Sperling
speed up matching of abbreviated commit IDs in pack files