Re: [PATCH] object-name: explain why <ref>~N fails in a shallow clone
- From
Harald Nordgren <haraldnordgren@gmail.com>
- Date
- Sep 21, 2026, 22:17 UTC
- Message-ID
- <CAHwyqnX77+qsstUmvvLw5Jvfdoi4V3YVagMddYxnWodHR9oq-g@mail.gmail.com>
- In-Reply-To
- <xmqq8q4uo8fx.fsf@gitster.g>
Show 12 quoted lines
> It is obvious that users would see such a message when they say > > $ git show HEAD~20 > $ git log HEAD~20..HEAD > > but would they see the same when > > $ git log -20 HEAD > $ git log --since=2.months HEAD > > and internally HEAD~20 fails to resolve? Should they see the same > hint?
But I think the 'log -20' doesn't even give an error, so where would we show that message?
Harald