From: René Scharfe Date: Mon, 30 Jun 2014 16:55:52 +0000 (-0400) Subject: sha1_file: replace PATH_MAX buffer with strbuf in prepare_packed_git_one() X-Git-Tag: v2.1.0-rc0~40^2~8 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/880fb8de67af3aeeae5a59ba5ce84ad3d0cf1dda?ds=sidebyside;hp=880fb8de67af3aeeae5a59ba5ce84ad3d0cf1dda sha1_file: replace PATH_MAX buffer with strbuf in prepare_packed_git_one() 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 Signed-off-by: Rene Scharfe Signed-off-by: Jeff King Signed-off-by: Junio C Hamano ---