summaryrefslogtreecommitdiff
path: root/csum-file.c
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2017-08-26 10:28:10 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-08-26 09:21:01 -0700
commitd49852d6f89bfde3cb20b6ca5866f67f6c04a894 (patch)
treec488fd091a47ae5ae76e98d3641e7cd235c06fc3 /csum-file.c
parentload_subtree(): combine some common code (diff)
downloadtgif-d49852d6f89bfde3cb20b6ca5866f67f6c04a894.tar.xz
get_oid_hex_segment(): don't pad the rest of `oid`
Remove the feature of `get_oid_hex_segment()` that it pads the rest of the `oid` argument with zeros. Instead, do this at the caller who needs it. This makes the functionality of this function more coherent and removes the need for its `oid_len` argument. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'csum-file.c')
0 files changed, 0 insertions, 0 deletions