diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2017-05-01 02:28:57 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-05-02 10:46:41 +0900 |
commit | 511dca80cce868237b2b64f909ed83863fcf5455 (patch) | |
tree | 3fe39e6217a2defa06ac94b9cfad4d7c50519d4c /t/t4058-diff-duplicates.sh | |
parent | Convert struct cache_tree to use struct object_id (diff) | |
download | tgif-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 't/t4058-diff-duplicates.sh')
0 files changed, 0 insertions, 0 deletions