Commit Briefs

638f902404 Stefan Sperling

rename got_error_prefix_errno() to got_error_from_errno()


f5c58ad153 Stefan Sperling

fix leftover lockfiles from parse_ref_file()


a875589a9d Stefan Sperling

fix locking of packed ref file in got_ref_open()


0885ce8fa7 Stefan Sperling

handle well-known refs more obviously in got_ref_open()


5b575c2578 Stefan Sperling

don't hide errors in got_ref_open()



656b1f76d3 joshua stein

while (1) -> for (;;)


230a42bdc6 joshua stein

got_error_from_errno -> got_error_prefix_errno

also add got_error_prefix_errno2 and got_error_prefix_errno3 which should hopefully all be merged into a single function with variadic args (but can't alloc mem)


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()