libgit2/tests-clar/refs
Russell Belfer f201d613a8 Add git_reference_lookup_oid and lookup_resolved
Adds a new public reference function `git_reference_lookup_oid`
that directly resolved a reference name to an OID without returning
the intermediate `git_reference` object (hence, no free needed).

Internally, this adds a `git_reference_lookup_resolved` function
that combines looking up and resolving a reference.  This allows
us to be more efficient with memory reallocation.

The existing `git_reference_lookup` and `git_reference_resolve`
are reimplmented on top of the new utility and a few places in the
code are changed to use one of the two new functions.
2012-04-17 10:44:50 -07:00
..
branches tests: Remove unused file 2012-04-11 19:17:21 +02:00
crashes.c Rename the Clay test suite to Clar 2012-01-24 20:35:15 -08:00
listall.c tests-clar: fix warning sign-compare 2012-02-13 12:13:05 +01:00
lookup.c Add git_reference_lookup_oid and lookup_resolved 2012-04-17 10:44:50 -07:00
unicode.c Clean up valgrind warnings 2012-04-04 13:13:43 +02:00