diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2017-08-26 10:28:10 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-08-26 09:21:01 -0700 |
commit | d49852d6f89bfde3cb20b6ca5866f67f6c04a894 (patch) | |
tree | c488fd091a47ae5ae76e98d3641e7cd235c06fc3 /builtin/help.c | |
parent | load_subtree(): combine some common code (diff) | |
download | tgif-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 'builtin/help.c')
0 files changed, 0 insertions, 0 deletions