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

Re: [PATCH v3] object-name: explain why <rev>~N fails in a shallow clone

From
PWPhillip Wood <phillip.wood123@gmail.com>
Date
Nov 2, 2026, 14:36 UTC
Message-ID
<50c6229a-336e-4488-9289-183f5ffc47cd@gmail.com>
In-Reply-To
<auiBFhXI_xiBTPbg@pks.im>
On 02/11/2026 12:24, Patrick Steinhardt wrote:
Show 5 quoted lines
> On Mon, Nov 02, 2026 at 12:07:29PM +0100, Harald Nordgren wrote:
>> >> We can loosen the requirements on perfect code, as long as it does
>> what it's supposed to and doesn't have security backdoors.
>>
>> Many things like tests,
The CI checks that the tests pass. It does not tell is if there is a sensible amount of test coverage for the change that's being made. Stolee used to run a coverage report which was helpful to highlight any glaring holes in our coverage but I think he stopped running it because it was quite time consuming to maintain. Even having that doesn't tell us if someone has added a million pointless tests that slow the test suite down - that still requires someone to read and understand them.
> leaks and linting are already handled
>> automatically by GitHub CI. It's a good time investment to automate
>> more, because it frees up resources long-term.
Having automated checks for common errors is certainly a good idea
Show 5 quoted lines
> Even if we automate more of it, that would still not fix our bottleneck.
> I do no trust automated reviews enough to just merge patches without a
> human review, as part of the review is also the conceptual direction
> that we are moving towards. And that can only really be reviewed by
> someone who is familiar with the project overall.
Agreed - it is no good having a "perfect" patch if it implements a bad idea.
> Now automation could of course still help us. For example, if
> contributors started to self-review their patch series before sending
> them out, That would be really helpful. Once someone has submitted a few patches they should know what issues reviewers are likely to bring up and be able to preempt that by at least trying to fix those issues before the submitting their patches. I don't mind spending time helping new contributors get used to the process, but after a few series they really should have got the hang of writing a cover letter and thinking about how their changes affect other users.
A while ago Junio floated the idea of requiring review contributions from contributors who submit patches. I wonder it would help to say something like "for every three patch series you submit you should provide an in-depth review of one series from another contributor". I'm not sure how well that would work (I seem to remember reading PostgreSQL tried something similar and ended up abandoning it) but it might be worth a try.
Thanks
Phillip
 > or if we had a tool like Sashiko [1]. If so, the human review
Show 11 quoted lines
> would happen on a patch series that is in a better shape already, and
> that would likely require less of a time investment overall.
> > Granted, at times we err too much on the side of polishing the last tiny
> nits. But quite often that's also us trying to train newcomers to write
> proper commit histories in the first place.
> > What I would very much like to avoid is reducing our standards just
> because "carving in to AI is inevitable". I've heard that argument way
> too often by now, and I don't think that it's a reasonable stance to
> have. It is very much not "inevitable" that a project must move faster.
> > Patrick
> > [1]: https://sashiko.dev/
Previous: Harald NordgrenNext: Harald Nordgren
Message 18 of 26 in “object-name: explain why <ref>~N fails in a shallow clone”
  1. object-name: explain why <ref>~N fails in a shallow cloneHarald Nordgren via GitGitGadget, Sep 20, 2026
  2. D. Ben KnobleSep 20, 2026
  3. Junio C HamanoSep 21, 2026
  4. Harald NordgrenSep 21, 2026
  5. Junio C HamanoSep 21, 2026
  6. shallow: advise when a walk stops at a shallow boundaryHarald Nordgren via GitGitGadget, Sep 22, 2026
  7. Junio C HamanoSep 22, 2026
  8. object-name: explain why <rev>~N fails in a shallow cloneHarald Nordgren via GitGitGadget, Sep 23, 2026
  9. Junio C HamanoNov 2, 2026
  10. Harald NordgrenNov 2, 2026
  11. Kristoffer HaugsbakkNov 2, 2026
  12. Harald NordgrenNov 2, 2026
  13. Patrick SteinhardtNov 2, 2026
  14. Kristoffer HaugsbakkNov 2, 2026
  15. Harald NordgrenNov 2, 2026
  16. Patrick SteinhardtNov 2, 2026
  17. Harald NordgrenNov 2, 2026
  18. Phillip WoodNov 2, 2026
  19. Harald NordgrenNov 2, 2026
  20. Junio C HamanoNov 2, 2026
  21. Junio C HamanoNov 2, 2026
  22. Kristoffer HaugsbakkNov 2, 2026
  23. Harald NordgrenNov 2, 2026
  24. Patrick SteinhardtNov 2, 2026
  25. Junio C HamanoNov 2, 2026
  26. Junio C HamanoNov 5, 2026

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.