5 years ago b249b824fb Stefan Sperling
add APIs to change references
5 years ago 57b6f99ae5 Stefan Sperling
handle non-existent reference in got_ref_resolve() error path
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()
5 years ago c980e47036 Stefan Sperling
plug memleak in alloc_ref()
5 years ago c53671d016 Stefan Sperling
plug memleak in got_ref_resolve()
5 years ago f9267c9ac1 Stefan Sperling
set an is_packed flag on refs parsed from packed-refs file
5 years ago e09d28b120 Stefan Sperling
plug two memory leaks when refs get closed