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

Re: What's cooking in git.git (Feb 2025, #09; Fri, 28)

From
Patrick Steinhardt <ps@pks.im>
Date
Mar 4, 2025, 06:27 UTC
Message-ID
<Z8adWTssWtaNTfx4@pks.im>
In-Reply-To
<xmqqldtmvyfa.fsf@gitster.g>
On Mon, Mar 03, 2025 at 09:03:53AM -0800, Junio C Hamano wrote:
Show 27 quoted lines
> shejialuo <shejialuo@gmail.com> writes:
> 
> > On Fri, Feb 28, 2025 at 04:45:31PM -0800, Junio C Hamano wrote:
> >
> >> * sj/ref-consistency-checks-more (2025-02-27) 9 commits
> >>  - builtin/fsck: add `git refs verify` child process
> >>  - packed-backend: check whether the "packed-refs" is sorted
> >>  - packed-backend: add "packed-refs" entry consistency check
> >>  - packed-backend: check whether the refname contains NUL characters
> >>  - packed-backend: add "packed-refs" header consistency check
> >>  - packed-backend: check if header starts with "# pack-refs with: "
> >>  - packed-backend: check whether the "packed-refs" is regular file
> >>  - builtin/refs: get worktrees without reading head information
> >>  - t0602: use subshell to ensure working directory unchanged
> >> 
> >>  "git fsck" becomes more careful when checking the refs.
> >> 
> >>  Comments?
> >>  source: <Z8CMx7O19PMs9sVY@ArchLinux>
> >
> > I think I have addressed the comments from you, Patrick and Karthik.
> > Could we make the patch into "next"?
> 
> Mine was merely a small kibitzing on the logic flow structure, and I
> didn't really looked at the larger picture beyond that part of the
> code I looked at.  Let's hear from Patrick and Karthik (cc'ed) if
> they find the result of the updates satisfactory.

Yes, I'm happy with the current state of this patch series. I'm a tiny bit worried about the new call to `git refs verify` in git-fsck(1) being added this late into the release cycle as we're now exercising a bunch of new code with only a few weeks of testing. My basic assumption is that mostly noone uses `git refs verify` explicitly right now, so all of the code we have introduced there over the last couple of releases did not yet receive much testing at all.

So while I think that executing the command in git-fsck(1) is a good thing overall, I would feel a bit more comfortable if that last commit of the series landed in the next release cycle. But maybe I'm just being overly cautious?

Patrick
Previous: Junio C HamanoNext: shejialuo
Message 4 of 18 in “What's cooking in git.git (Feb 2025, #09; Fri, 28)”
  1. Junio C HamanoMar 1, 2025
  2. shejialuoMar 3, 2025
  3. Junio C HamanoMar 3, 2025
  4. Patrick SteinhardtMar 4, 2025
  5. shejialuoMar 4, 2025
  6. Junio C HamanoMar 4, 2025
  7. Karthik NayakMar 7, 2025
  8. Patrick SteinhardtMar 4, 2025
  9. ps/reftable-sans-compat-util, was Re: What's cooking in git.git (Feb 2025, #09; Fri, 28)Johannes Schindelin, Mar 4, 2025
  10. Johannes SchindelinMar 4, 2025
  11. Patrick SteinhardtMar 4, 2025
  12. Patrick SteinhardtMar 4, 2025
  13. Johannes SchindelinMar 26, 2025
  14. Junio C HamanoMar 27, 2025
  15. Patrick SteinhardtMar 28, 2025
  16. Johannes SchindelinMar 28, 2025
  17. Junio C HamanoMar 30, 2025
  18. Junio C HamanoMar 29, 2025

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.