From: Paolo Bonzini Date: Wed, 24 Feb 2010 13:33:58 GMT Subject: Re: [PATCH v2] pull: fix 'git pull --all' when current branch is tracking remote that is not last in the list of remotes Message-ID: <4B852AC6.8040508@gnu.org> In-Reply-To: <1267016842-3380-1-git-send-email-michael.lukashov@gmail.com> On 02/24/2010 02:07 PM, Michael Lukashov wrote: > +if test -e "$GIT_DIR"/FETCH_HEAD > +then > + rm -f "$GIT_DIR"/FETCH_HEAD || exit > +fi You do not need the if. Paolo