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

Linus Torvalds
2005-06-22T00:22:55Z

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