object.c
10 KB
-
Add git_object_short_id API to get short id string · 13f7ecd7
This finds a short id string that will unambiguously select the given object, starting with the core.abbrev length (usually 7) and growing until it is no longer ambiguous.
Russell Belfer committed