Commit Briefs

d1f166363b Stefan Sperling

move got_repo_cmp_tags() to got_ref_cmp_tags()


56e0773df7 Stefan Sperling

convert tree entries from SIMPLEQ to an array




cdb8f1fa33 Hiltjo Posthuma

fix possible NULL deref in alloc_symref()


6aeab5968f Stefan Sperling

fix deletion of branches stored in packed-refs

broken since 29606af7a3a58767bf817a38035490899609d13e





d572f5860a Stefan Sperling

eliminate strlen() calls during fileindex rb tree searches


6e47225242 Stefan Sperling

remove pointless call to got_path_normalize()



0f148cb77a Stefan Sperling

revert c191ed664f6c437ebc3e0c859c53e48b445401f1

'got ref' should only work with naked ref names; implicitly putting things into 'refs/heads' is a job for something like a 'got branch' command.


6e472abb21 Stefan Sperling

fix a segfault in got_ref_open()


aedda007f3 Stefan Sperling

make open_ref() tolerate missing reference dirs and files



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