Commit Briefs



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.


Stefan Sperling

fix a segfault in got_ref_open()








Stefan Sperling

don't hide errors in got_ref_open()



joshua stein

while (1) -> for (;;)


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)



Stefan Sperling

add APIs to change references




Stefan Sperling

fix uninitialized variable in insert_ref()



Stefan Sperling

better malloc size idiom in insert_ref()




Stefan Sperling

don't leak 'new' in insert_ref()