Commit Briefs

324d37e7c7 Stefan Sperling

make got path APIs available to library consumers


b249b824fb Stefan Sperling

add APIs to change references



598a8b9185 Stefan Sperling

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


6249107b89 Stefan Sperling

fix uninitialized variable in insert_ref()


80d5fc1f55 Stefan Sperling

use sizeof instead of SHA1_DIGEST_LENGTH in memcpy


6fdbf7b046 Stefan Sperling

better malloc size idiom in insert_ref()


c0a1c01633 Stefan Sperling

move assignment closer to check in parse_ref_file()


505287bea1 Stefan Sperling

properly handle duplicates when calling insert_ref()


27a1ed032f Stefan Sperling

don't leak 'new' in insert_ref()



7ab0422aff Stefan Sperling

better foarseln() error handling in open_packed_ref()


c980e47036 Stefan Sperling

plug memleak in alloc_ref()


c53671d016 Stefan Sperling

plug memleak in got_ref_resolve()


f9267c9ac1 Stefan Sperling

set an is_packed flag on refs parsed from packed-refs file


e09d28b120 Stefan Sperling

plug two memory leaks when refs get closed


d1667f0dbb Stefan Sperling

introduce got_path_dirname()


5e1c9f2326 Stefan Sperling

fix dirname() usage errors around got_path_mkdir()


49c7094fd1 Stefan Sperling

fix broken error checking in got_ref_write()


0cd1c46a9e Stefan Sperling

create references to base commits of got worktrees


e2e879a086 Stefan Sperling

introduce got_ref_list_free() and use it in got and tog


2d2e137815 Stefan Sperling

add got_ref_delete(); only loose refs supported for now


8fa2f09641 Stefan Sperling

fix off-by-one in fwrite() check in got_ref_write()


0fd469ce93 Stefan Sperling

make got_ref_write() work for refs which do not exist yet


58908ed09b Stefan Sperling

fix path construction with empty subdir in open_ref()