From: Junio C Hamano Date: Wed, 28 Sep 2011 18:50:07 GMT Subject: Re: 6d4bb3833c3d2114d (fetch: verify we have everything we need before updating our ref) breaks fetch Message-ID: <7vsjngzelc.fsf@alter.siamese.dyndns.org> In-Reply-To: <1317225869.30267.18.camel@bee.lab.cmartin.tk> Carlos Martín Nieto 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/lib export GIT_EXEC_PATH PATH GITPERLLIB