From: Edward Thomson Date: Mon, 26 Mar 2018 14:33:54 GMT Subject: Re: [RFC 0/1] Tolerate broken headers in `packed-refs` files Message-ID: In-Reply-To: On Mon, Mar 26, 2018 at 2:08 PM, 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. We added the `sorted` capability to our `packed-refs` header relatively recently (approximately two months ago, v0.27.0 will be the first release to include it as of today). So, at the moment, libgit2 writes: "# pack-refs with: peeled fully-peeled sorted " Prior to this change, libgit2's header was stable for the last five years as: "# pack-refs with: peeled fully-peeled " And prior to that, we advertised only `peeled`: "# pack-refs with: peeled " Thanks for thinking of us! -ed