summaryrefslogtreecommitdiff
path: root/builtin/diff-files.c
diff options
context:
space:
mode:
authorLibravatar brian m. carlson <sandals@crustytoothpaste.net>2017-05-01 02:28:57 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-05-02 10:46:41 +0900
commit511dca80cce868237b2b64f909ed83863fcf5455 (patch)
tree3fe39e6217a2defa06ac94b9cfad4d7c50519d4c /builtin/diff-files.c
parentConvert struct cache_tree to use struct object_id (diff)
downloadtgif-511dca80cce868237b2b64f909ed83863fcf5455.tar.xz
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 'builtin/diff-files.c')
0 files changed, 0 insertions, 0 deletions