Commits


check for errors from fclose()


make got_ref_open() search on-disk refs before packed-refs


fix insert_ref() to provide ordering similar to path lists


append to tail of reflist, not to the head of the list


make got_ref_list() return a sorted list


on-disk refs must take precedence over packed-refs


internally represent a non-existent ref as NULL rather than as error


include non-packed refs in results from got_ref_list()


add missing error checks in got_ref_list()


improve error codes in lib/reference.c


make 'got log' show packed refs and HEAD ref (pther refs not shown yet)


add potentially useful helpers for tag objects and refs


actually return once parse_packed_ref_line() succeeds


parse packed refs in a single pass over packed-refs file


optimize code path for lookup of well-known refs