aboutsummaryrefslogtreecommitdiff
path: root/builtin/pack-objects.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2019-05-09 17:30:37 -0400
committerJunio C Hamano <gitster@pobox.com>2019-05-13 14:22:54 +0900
commitbe27fb7b287a81b5b3c889121eab99d344272e8b (patch)
tree37e4e5b88952135bc35983f0bf02b2f123d90e59 /builtin/pack-objects.c
parent13a178129ffe91b4d2443c7950a399a634488225 (diff)
downloadgit-be27fb7b287a81b5b3c889121eab99d344272e8b.tar.xz
mktree: drop unused length parameter
The mktree_line() function does not actually look at the "len" parameter it is passed, and assumes the buffer it receives is NUL-terminated. Since the caller always passes a strbuf, this will be true. Let's drop the useless parameter. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/pack-objects.c')
0 files changed, 0 insertions, 0 deletions