Re: [RFC 0/1] Tolerate broken headers in `packed-refs` files
- From
Jeff King <peff@peff.net>
- Date
- Mar 26, 2018, 14:33 UTC
- Message-ID
- <20180326143340.GA23926@sigill.intra.peff.net>
- In-Reply-To
- <f8d0f3b6-69b3-ba42-c39c-551814caf335@gmail.com>
On Mon, Mar 26, 2018 at 09:08:04AM -0400, Derrick Stolee wrote:
> Since most heavily-used tools that didn't spawn Git processes use LibGit2 to > interact with Git repos, I added Ed Thomson to CC to see if libgit2 could > ever write these bad header comments.
Ed can probably answer more definitively, but I dug in the libgit2 history a little, and I think it has only ever generated correct "pack-refs with:" lines.
Ditto for JGit, though there it blames down to 1a6964c82 (Initial JGit contribution to eclipse.org, 2009-09-29). I didn't dig further into the historical JGit repository, but I think that's probably far enough to feel good about it.
-Peff