Re: Commits gone AWOL, but not reported by git-fsck --unreachable
- From
Matthieu Moy <matthieu.moy@imag.fr>
- Date
- May 19, 2007, 16:55 UTC
- Message-ID
- <vpq8xbkoir8.fsf@bauges.imag.fr>
- In-Reply-To
- <A04FB6C2-20B2-4263-9D58-6C281C04C6C4@silverinsanity.com>
Brian Gernhardt <benji@silverinsanity.com> writes:
Show 10 quoted lines
> On May 19, 2007, at 12:08 PM, Matthieu Moy wrote: > >> The commit introducing it is 566842f62bdf1f16c2e94fb431445d2e6c0f3f0b, >> and I'd say it's in git 1.5.1: >> >> $ git-describe --tags 566842f62bdf1f16c2e94fb431445d2e6c0f3f0b >> v1.5.1-34-g566842f > > Actually, I think that means it's 34 commits *after* v1.5.1, not > before. It's in 1.5.2-rc0, but none of the 1.5.1.* series.
You're right. Then, is there any easy way to ask git the oldest tag(s) that a commit is an ancestor of? In other words, which command should I have typed above?
-- Matthieu