Re: git-pull-script on my linus tree fails..

From: Linus Torvalds
Date: Tue Jun 21 2005 - 19:27:10 EST




On Tue, 21 Jun 2005, Jeff Garzik wrote:
> Jeff Garzik wrote:
>
> It does seem to hit the final branch in the script:
>
> > [jgarzik@pretzel libata-dev]$ sh -x /usr/local/bin/git-checkout-script -f ncq
> > + new=d032ec9048ff82a704b96b93cfd6f2e8e3a06b19
> > + '[' -f .git/revs/heads/ncq ']'

Oops. Typo of mine. "revs" is incorrect, it should be "refs".

So because it's testing the wrong directory for the branch name, it
obviously won't find the branch, and decides that you used just a regular
commit name.

I bet that one-character fix will fix it. Pushed out,

Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/