sha1_file: replace PATH_MAX buffer with strbuf in prepare_packed_git_one()
authorRené Scharfe <l.s.r@web.de>
Mon, 30 Jun 2014 16:55:52 +0000 (12:55 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 30 Jun 2014 20:43:16 +0000 (13:43 -0700)
Instead of using strbuf to create a message string in case a path is
too long for our fixed-size buffer, replace that buffer with a strbuf
and thus get rid of the limitation.

Helped-by: Duy Nguyen <pclouds@gmail.com>
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found