Re: 6d4bb3833c3d2114d (fetch: verify we have everything we need before updating our ref) breaks fetch
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 28, 2011, 18:50 UTC
- Message-ID
- <7vsjngzelc.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <1317225869.30267.18.camel@bee.lab.cmartin.tk>
Carlos Martín Nieto <cmn@elego.de> writes:
> Whilst trying to do some work related to fetch, I came across a > regression in the 'next' branch.... > > $ ./git-fetch git://repo.or.cz/git
That invocation of ./git-fetch looks suspicious.
Are you sure that it internally invokes ./git-rev-list from the same version that knows --verify-objects option (you just built in your current directory), or is it invoking an old git-rev-list that is installed and is reachable from your usual $PATH, which does not know that option yet?
When I try a new version that was just built in my current directory, here is an incantation I use:
GIT_EXEC_PATH=`pwd`
PATH=`pwd`:/usr/bin:/bin
GITPERLLIB=`pwd`/perl/blib/libexport GIT_EXEC_PATH PATH GITPERLLIB