refname objects: helper function
commit08b40a044b097dbdea1b7d5bcae8d93824cdb9bb
authorMichael J Gruber <git@drmicha.warpmail.net>
Tue, 22 Feb 2011 15:18:45 +0000 (22 16:18 +0100)
committerMichael J Gruber <git@drmicha.warpmail.net>
Mon, 25 Mar 2013 15:42:43 +0000 (25 16:42 +0100)
tree7c7e144cf1ccbd9dfd661c9c2da8029c19b19643
parentddc39398152011b6a071e28b0f18f69ba427d0c0
refname objects: helper function

Refname objects are blobs with content "<refname>". Provide a helper
function which maps a full refname to a SHA1.
cache.h
sha1_file.c