summaryrefslogtreecommitdiff
path: root/upload-pack.c
diff options
context:
space:
mode:
authorLibravatar brian m. carlson <sandals@crustytoothpaste.net>2017-02-20 00:10:13 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-02-20 01:11:26 -0800
commit605f430efb23ce14ca11750368149acd38b8f1e4 (patch)
treeb9e9593022ca7c0258f0a940eab301b4a0d3bbdc /upload-pack.c
parentGit 2.12-rc1 (diff)
downloadtgif-605f430efb23ce14ca11750368149acd38b8f1e4.tar.xz
hex: introduce parse_oid_hex
Introduce a function, parse_oid_hex, which parses a hexadecimal object ID and if successful, sets a pointer to just beyond the last character. This allows for simpler, more robust parsing without needing to hard-code integer values throughout the codebase. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'upload-pack.c')
0 files changed, 0 insertions, 0 deletions