Re: cloning a tree which has detached branch checked out
- From
- Michael S. Tsirkin <mst@redhat.com>
- Date
- Feb 8, 2012, 10:17 UTC
- Message-ID
- <20120208101729.GA26551@redhat.com>
- In-Reply-To
- <20120207171604.GA26614@sigill.intra.peff.net>
On Tue, Feb 07, 2012 at 12:16:04PM -0500, Jeff King wrote:
Show 13 quoted lines
> On Tue, Feb 07, 2012 at 09:11:00AM -0800, Junio C Hamano wrote: > > > > This particular bug should have been fixed before that, even, with my > > > c1921c1 (clone: always fetch remote HEAD, 2011-06-07). And it is tested > > > explicitly in t5707,... > > [...] > > What is funny is "error: Trying to write ref HEAD with nonexistant object". > > "git grep -e nonexistant f3fb0" does not register any hit. > > That misspelling of "nonexistent" was fixed by 7be8b3b (Fix typo: > existant->existent, 2011-06-16), around the same time as my clone patch. > Which really makes me wonder if the OP is accidentally running an old > version of git during the tests.
Double checked and you are right: the box actually runs git 1.7.1. Rechecked with 1.7.9.GIT and it behaves correctly.
My mistake, sorry about the noise.
-- MST