Re: git checkout does not warn about tags without corresponding commits
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 2, 2009, 21:44 UTC
- Message-ID
- <7v8wptcrhp.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <200901021325.58049.henrik@austad.us>
Henrik Austad <henrik@austad.us> writes:
> I recently tried to do a checkout of (what I thought was the first) inux > kernel in the linux git repo. > > git checkout -b 2.6.11 v2.6.11
This should have barfed, and indeed I think it is a regression around v1.5.5. v1.5.4 and older git definitely fails to check out a tree object like that.