🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.kernel.git
15 messages
15 total messages Started by Junio C Hamano Mon, 02 Nov 2026 09:21
Re: [PATCH v3] object-name: explain why <rev>~N fails in a shallow clone
#2123
Author: Junio C Hamano
Date: Mon, 02 Nov 2026 09:21
23 lines
13643 bytes
"Harald Nordgren via GitGitGadget" <gitgitgadget@gmail.com> writes:

> From: Harald Nordgren <haraldnordgren@gmail.com>
>
> Asking for a commit's ancestor with <rev>~N in a shallow clone that
> does not have N commits of history locally fails with a bare "is not
> a commit" error, with no indication that the repository being shallow
> is the reason, or what to do about it.
> ...
>     Changes in v3:
>     
>      * Drop the git log -<n>/--since extension entirely, per feedback that
>        last commit shown is an unreliable signal for a shallow boundary.
>      * Fix a bug for chained <rev>^^^ where it would print the hint twice.

We unfortunately haven't seen many folks interested in this change.
Is anybody interested in reviewing the patch to give it a push?

Unless we see some volunteers to give it a review in a few weeks, I
will discard the topic out of my tree, as 'seen' has been crowded
with topics that have been collecting dust without getting many
reviews.
Re: [PATCH v3] object-name: explain why <rev>~N fails in a shallow clone
#2126
Author: Harald Nordgren
Date: Mon, 02 Nov 2026 10:06
35 lines
12983 bytes
On Mon, Nov 2, 2026 at 10:21 AM Junio C Hamano <gitster@pobox.com> wrote:
>
> "Harald Nordgren via GitGitGadget" <gitgitgadget@gmail.com> writes:
>
> > From: Harald Nordgren <haraldnordgren@gmail.com>
> >
> > Asking for a commit's ancestor with <rev>~N in a shallow clone that
> > does not have N commits of history locally fails with a bare "is not
> > a commit" error, with no indication that the repository being shallow
> > is the reason, or what to do about it.
> > ...
> >     Changes in v3:
> >
> >      * Drop the git log -<n>/--since extension entirely, per feedback that
> >        last commit shown is an unreliable signal for a shallow boundary.
> >      * Fix a bug for chained <rev>^^^ where it would print the hint twice.
>
> We unfortunately haven't seen many folks interested in this change.
> Is anybody interested in reviewing the patch to give it a push?
>
> Unless we see some volunteers to give it a review in a few weeks, I
> will discard the topic out of my tree, as 'seen' has been crowded
> with topics that have been collecting dust without getting many
> reviews.

Is it possible that maybe the review process needs to change if too
many things are getting stuck? Rather than discarding acceptable work.


Harald
Re: [PATCH v3] object-name: explain why <rev>~N fails in a shallow clone
#2128
Author: "Kristoffer Haugsbakk"
Date: Mon, 02 Nov 2026 11:01
39 lines
14474 bytes
On Mon, Nov 2, 2026, at 11:06, Harald Nordgren wrote:
> On Mon, Nov 2, 2026 at 10:21 AM Junio C Hamano <gitster@pobox.com> wrote:
>>
>> "Harald Nordgren via GitGitGadget" <gitgitgadget@gmail.com> writes:
>>
>> > From: Harald Nordgren <haraldnordgren@gmail.com>
>> >
>> > Asking for a commit's ancestor with <rev>~N in a shallow clone that
>> > does not have N commits of history locally fails with a bare "is not
>> > a commit" error, with no indication that the repository being shallow
>> > is the reason, or what to do about it.
>> >[snip]
>>
>> We unfortunately haven't seen many folks interested in this change.
>> Is anybody interested in reviewing the patch to give it a push?
>>
>> Unless we see some volunteers to give it a review in a few weeks, I
>> will discard the topic out of my tree, as 'seen' has been crowded
>> with topics that have been collecting dust without getting many
>> reviews.
>
> Is it possible that maybe the review process needs to change if too
> many things are getting stuck?

The regular reviewers have been talking about review work being scarce
compared to contributions (contributor work) for at least several years
now. How can this be changed if there simply aren’t enough people to
review everything? And why does it *need* to be changed? The only
contributions that I know of that git(1) *needs* is full support for
the hash transition before Git 3.0.

> Rather than discarding acceptable work.

My work which has been stuck is also acceptable to me. ;) But my
opinions are beside the point wrt. an independent review.
Re: [PATCH v3] object-name: explain why <rev>~N fails in a shallow clone
#2129
Author: Harald Nordgren
Date: Mon, 02 Nov 2026 11:07
26 lines
12995 bytes
> > Is it possible that maybe the review process needs to change if too
> > many things are getting stuck?
>
> The regular reviewers have been talking about review work being scarce
> compared to contributions (contributor work) for at least several years
> now. How can this be changed if there simply aren’t enough people to
> review everything?

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, 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.

> > Rather than discarding acceptable work.
>
> My work which has been stuck is also acceptable to me. ;) But my
> opinions are beside the point wrt. an independent review.

Maybe we can trade reviews if you send me the link or links here? :)


Harald
Re: [PATCH v3] object-name: explain why <rev>~N fails in a shallow clone
#2135
Author: "Kristoffer Haugsbakk"
Date: Mon, 02 Nov 2026 12:34
18 lines
13627 bytes
On Mon, Nov 2, 2026, at 12:07, Harald Nordgren wrote:
>> > Is it possible that maybe the review process needs to change if too
>> > many things are getting stuck?
>>
>> >[snip]
>> > Rather than discarding acceptable work.
>>
>> My work which has been stuck is also acceptable to me. ;) But my
>> opinions are beside the point wrt. an independent review.
>
> Maybe we can trade reviews if you send me the link or links here? :)

Nothing I have right now is important.

Maybe I could look at the design of some of your proposals. I’m not much
of a C programmer.
Re: [PATCH v3] object-name: explain why <rev>~N fails in a shallow clone
#2136
Author: "Kristoffer Haugsbakk"
Date: Mon, 02 Nov 2026 12:44
72 lines
16099 bytes
On Mon, Nov 2, 2026, at 13:24, Patrick Steinhardt wrote:
> On Mon, Nov 02, 2026 at 12:07:29PM +0100, Harald Nordgren wrote:
>> > > Is it possible that maybe the review process needs to change if too
>> > > many things are getting stuck?
>> >
>> > The regular reviewers have been talking about review work being scarce
>> > compared to contributions (contributor work) for at least several years
>> > now. How can this be changed if there simply aren’t enough people to
>> > review everything?
>>
>> 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, 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.
>
> 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.

I’m not sure what was meant by automate-more, but if it is rubber
stamping by an AI then I am skeptical as well.

>
> Now automation could of course still help us. For example, if
> contributors started to self-review their patch series before sending
> them out, or if we had a tool like Sashiko [1]. If so, the human review
> would happen on a patch series that is in a better shape already, and
> that would likely require less of a time investment overall.

I have had good experiences with private review by bots.

But again the usual problem with an influx of contributions is that
“requiring” this kind of soft check by a bot is not something that
reviewers can check for. They can check if someone skipped the
whitespace error check. But they can’t check that someone skipped a
self-review. It’s like requiring “using your own voice” for commit
messages. People can just say that they “drafted” it with AI but they
rewrote it “in their own voice”. Uncheckable.

Contributors have gotten a hundred-fold more help to write
code. (And even commit messages for some reason.) Meanwhile, what have
reviewers received?

>
> 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.

*caving

I also don’t see why this project should move faster in terms of features.
Re: [PATCH v3] object-name: explain why <rev>~N fails in a shallow clone
#2138
Author: Harald Nordgren
Date: Mon, 02 Nov 2026 14:07
67 lines
15105 bytes
On Mon, Nov 2, 2026 at 1:25 PM Patrick Steinhardt <ps@pks.im> wrote:
>
> On Mon, Nov 02, 2026 at 12:07:29PM +0100, Harald Nordgren wrote:
> > > > Is it possible that maybe the review process needs to change if too
> > > > many things are getting stuck?
> > >
> > > The regular reviewers have been talking about review work being scarce
> > > compared to contributions (contributor work) for at least several years
> > > now. How can this be changed if there simply aren’t enough people to
> > > review everything?
> >
> > 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, 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.
>
> 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.

I'm not primarily talking about the review part, but about the
mechanical aspects around reviewing:

You might point out that while the tip a series builds and tests pass,
a commit has a test added before the actual logic was added in the
subsequent commit. This is a class of problems that we can find with
automatic tooling, and then the human reviewers can free up more of
their scarce time for actual reviewing.

> Now automation could of course still help us. For example, if
> contributors started to self-review their patch series before sending
> them out, or if we had a tool like Sashiko [1]. If so, the human review
> would happen on a patch series that is in a better shape already, and
> that would likely require less of a time investment overall.
>
> [1]: https://sashiko.dev/

Interesting if Linux is using that. Linux is our sister project right? ;)

> 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.

Yes, this is a bigger issue than I think we understand.

The Pareto principle (80/20) generally holds for things like this, and
maybe the last X% of code improvement is not worth the (100-X)% time
investment? For sure it's not linearly distributed.

> 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.

This is not my main point (although I am AI-positive).


Harald
Re: [PATCH v3] object-name: explain why <rev>~N fails in a shallow clone
#2141
Author: Harald Nordgren
Date: Mon, 02 Nov 2026 14:10
10 lines
12363 bytes
> I’m not much of a C programmer.

I'm quite taken aback by this.

Is the Git code so sacred that even the reviewers are not in a
position to review? :D


Harald
Re: [PATCH v3] object-name: explain why <rev>~N fails in a shallow clone
#2146
Author: Phillip Wood
Date: Mon, 02 Nov 2026 14:36
70 lines
14785 bytes
On 02/11/2026 12:24, Patrick Steinhardt wrote:
> 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

> 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
> 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/
Re: [PATCH v3] object-name: explain why <rev>~N fails in a shallow clone
#2158
Author: Harald Nordgren
Date: Mon, 02 Nov 2026 14:48
25 lines
13149 bytes
> > > 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.
> >
> > Yes, this is a bigger issue than I think we understand.
> >
> > The Pareto principle (80/20) generally holds for things like this, and
> > maybe the last X% of code improvement is not worth the (100-X)% time
> > investment? For sure it's not linearly distributed.
>
> I guess that part of the problem is also that a shallow review that
> focusses on stylistic issues is way easier to do compared to one that
> does a deep dive into the underlying principles. It's simply a time
> tradeoff that reviewers need to do.

It's a vicious dopamine cycle.

I would probably like to see a soft rule / principle in place of no
nitpicking until the idea has been settled. Nitpicking wastes precious
reviewer time, and will often generate a new version, which ends up
biting the reviewer again, and so on.


Harald
Re: [PATCH v3] object-name: explain why <rev>~N fails in a shallow clone
#2145
Author: Harald Nordgren
Date: Mon, 02 Nov 2026 14:52
19 lines
12854 bytes
> 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.

It certainly shouldn't rely on a single individual.

There are tools like Codecov, that can be hooked into GitHub pull requests.

> 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.

Yes, but this is still a subset of all cases.


Harald
Re: [PATCH v3] object-name: explain why <rev>~N fails in a shallow clone
#2176
Author: Junio C Hamano
Date: Mon, 02 Nov 2026 18:35
21 lines
13607 bytes
Harald Nordgren <haraldnordgren@gmail.com> writes:

>> We unfortunately haven't seen many folks interested in this change.
>> Is anybody interested in reviewing the patch to give it a push?
>>
>> Unless we see some volunteers to give it a review in a few weeks, I
>> will discard the topic out of my tree, as 'seen' has been crowded
>> with topics that have been collecting dust without getting many
>> reviews.
>
> Is it possible that maybe the review process needs to change if too
> many things are getting stuck? Rather than discarding acceptable work.

If it were acceptable, it would have long been in 'next' and
'master', though.  One of the important criteria for being
acceptable is whether others find it a reasonable change to make to
the system, and I do not know of a way to show that other than by
positive reviews.

And that is why I pinged the thread again.
Re: [PATCH v3] object-name: explain why <rev>~N fails in a shallow clone
#2179
Author: Junio C Hamano
Date: Mon, 02 Nov 2026 18:40
22 lines
13843 bytes
Patrick Steinhardt <ps@pks.im> writes:

> ... 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.

Well said.

> 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.

Yes, I very much agree with this.  There was a release few cycles
ago where I blindly trusted AI generated reviews too much, allowed
topics without human reviews to be merged to 'next' and 'master',
that resulted in quite a few immediate reverts.  I learned from that
episode and am basing heavily on human reviews the decision to mark
the topic for 'next' these days.

Thanks.
Re: [PATCH v3] object-name: explain why <rev>~N fails in a shallow clone
#2178
Author: Junio C Hamano
Date: Mon, 02 Nov 2026 18:55
12 lines
13591 bytes
Phillip Wood <phillip.wood123@gmail.com> writes:

> 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.

Hmph, I do not know if you want a "contributor" who throws too many
AI slop at us to contaminate discussion threads on others' patches
with their AI generated "reviews" in the first place, though.
Re: [PATCH v3] object-name: explain why <rev>~N fails in a shallow clone
#2469
Author: Junio C Hamano
Date: Thu, 05 Nov 2026 21:22
36 lines
14167 bytes
Junio C Hamano <gitster@pobox.com> writes:

> Harald Nordgren <haraldnordgren@gmail.com> writes:
>
>>> We unfortunately haven't seen many folks interested in this change.
>>> Is anybody interested in reviewing the patch to give it a push?
>>>
>>> Unless we see some volunteers to give it a review in a few weeks, I
>>> will discard the topic out of my tree, as 'seen' has been crowded
>>> with topics that have been collecting dust without getting many
>>> reviews.
>>
>> Is it possible that maybe the review process needs to change if too
>> many things are getting stuck? Rather than discarding acceptable work.
>
> If it were acceptable, it would have long been in 'next' and
> 'master', though.  One of the important criteria for being
> acceptable is whether others find it a reasonable change to make to
> the system, and I do not know of a way to show that other than by
> positive reviews.
>
> And that is why I pinged the thread again.

And after a few days, nobody in this thread is supportive of this
topic.  It is very unfortunate that the discussion thread that
starts at https://lore.kernel.org/git/xmqqtslzlhbm.fsf@gitster.g/,
which was meant to invite people who are supportive of this change
to talk about its merits, has been cluttered with messages that are
only about the review process, which I was hoping would happen
elsewhere [*].


[Reference]

 * https://lore.kernel.org/git/xmqq1p93ofjx.fsf@gitster.g/
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads