summaryrefslogtreecommitdiffstats
path: root/trailer.h
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2017-05-01 04:28:57 +0200
committerJunio C Hamano <gitster@pobox.com>2017-05-02 03:46:41 +0200
commit511dca80cce868237b2b64f909ed83863fcf5455 (patch)
tree3fe39e6217a2defa06ac94b9cfad4d7c50519d4c /trailer.h
parentConvert struct cache_tree to use struct object_id (diff)
downloadgit-511dca80cce868237b2b64f909ed83863fcf5455.tar.xz
git-511dca80cce868237b2b64f909ed83863fcf5455.zip
builtin/name-rev: convert to struct object_id
Convert all the uses of unsigned char [20] to struct object_id. Also, convert some hard-coded integers into constants. name_rev_line accepts a wide variety of free-form input and only interprets 40-character hex values, passing through everything else. Consequently, it is not a good candidate for parse_oid_hex, which is much stricter. This change is a prerequisite for converting parse_object. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'trailer.h')
0 files changed, 0 insertions, 0 deletions