git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [RFC 0/1] Tolerate broken headers in `packed-refs` files

From
Edward Thomson <ethomson@edwardthomson.com>
Date
Mar 26, 2018, 14:33 UTC
Message-ID
<CA+WKDT1LMuwuXar9i-1RJ15+o5Rxp013FL9fqfAfMydZJ9cQ6g@mail.gmail.com>
In-Reply-To
<f8d0f3b6-69b3-ba42-c39c-551814caf335@gmail.com>
On Mon, Mar 26, 2018 at 2:08 PM, Derrick Stolee <stolee@gmail.com> 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
Previous: Jeff King
Message 5 of 5 in “[RFC 0/1] Tolerate broken headers in `packed-refs` files”
  1. Michael HaggertyMar 26, 2018
  2. 1/1 packed-backend: ignore broken headersMichael Haggerty, Mar 26, 2018
  3. Derrick StoleeMar 26, 2018
  4. Jeff KingMar 26, 2018
  5. Edward ThomsonMar 26, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.