sha1-name: introduce a get_oid() function
authorbrian m. carlson <sandals@crustytoothpaste.net>
Sun, 17 Apr 2016 23:10:36 +0000 (23:10 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 19 Apr 2016 22:28:58 +0000 (15:28 -0700)
commit2764fd93ad091a1acbe07b4a165ae3489cf46c15
tree738f3f44761838b5843ea709d54763af1de3c01b
parent90f7b16b3adc78d4bbabbd426fb69aa78c714f71
sha1-name: introduce a get_oid() function

The get_oid() function is equivalent to the get_sha1() function, but
uses a struct object_id instead.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache.h
sha1_name.c