update-index: drop unused prefix_length parameter from do_reupdate()
authorJeff King <peff@peff.net>
Wed, 20 Mar 2019 08:14:07 +0000 (04:14 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 20 Mar 2019 09:34:09 +0000 (18:34 +0900)
commit5bb1cb6d023fb1087694b8d7148bc6f3f306efc5
tree705dbd52de83a12c6072ebe2d854e1571d6b1bae
parentaf117077d38af01f585adb16ded9deccb559b0b6
update-index: drop unused prefix_length parameter from do_reupdate()

The prefix is always a NUL-terminated string, and we just end up passing
it along to parse_pathspec() anyway (which does not even take a length).

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/update-index.c