Re: [PATCH v2 1/2] sha1_file: replace PATH_MAX buffer wirh strbuf in, prepare_packed_git_one()
- From
Jeff King <peff@peff.net>
- Date
- Jun 30, 2014, 13:24 UTC
- Message-ID
- <20140630132423.GA14799@sigill.intra.peff.net>
- In-Reply-To
- <53AFA775.1090900@web.de>
On Sun, Jun 29, 2014 at 07:43:17AM +0200, René Scharfe wrote:
> 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.
Yay. Safer, and the end result is much more readable.
-Peff