summaryrefslogtreecommitdiff
path: root/builtin/unpack-file.c
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2019-07-31 00:38:20 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-08-01 13:06:52 -0700
commitb3b3cbcbf246b1051ad453bc02e24a89573e2911 (patch)
tree3de6ade42d5a43eca2da12cd6053c57d0c4c66b5 /builtin/unpack-file.c
parenttree-walk: use size_t consistently (diff)
downloadtgif-b3b3cbcbf246b1051ad453bc02e24a89573e2911.tar.xz
tree-walk: accept a raw length for traverse_path_len()
We take a "struct name_entry", but only care about the length of the path name. Let's just take that length directly, making it easier to use the function from callers that sometimes do not have a name_entry at all. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/unpack-file.c')
0 files changed, 0 insertions, 0 deletions