mktree: drop unused length parameter
authorJeff King <peff@peff.net>
Thu, 9 May 2019 21:30:37 +0000 (17:30 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 13 May 2019 05:22:54 +0000 (14:22 +0900)
commitbe27fb7b287a81b5b3c889121eab99d344272e8b
tree37e4e5b88952135bc35983f0bf02b2f123d90e59
parent13a178129ffe91b4d2443c7950a399a634488225
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>
builtin/mktree.c