git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <bonzini@gnu.org>
To: Michael Lukashov <michael.lukashov@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: [PATCH v2] pull: fix 'git pull --all' when current branch is tracking remote that is not last in the list of remotes
Date: Wed, 24 Feb 2010 14:33:58 +0100	[thread overview]
Message-ID: <4B852AC6.8040508@gnu.org> (raw)
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

  reply	other threads:[~2010-02-24 13:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-23 22:55 [PATCH] pull: fix 'git pull --all' when current branch is tracking remote that is not last in the list of remotes Michael Lukashov
2010-02-23 23:02 ` Junio C Hamano
2010-02-23 23:44   ` Michael Lukashov
2010-02-24  0:22     ` Junio C Hamano
2010-02-24 13:07       ` [PATCH v2] " Michael Lukashov
2010-02-24 13:33         ` Paolo Bonzini [this message]
2010-02-24 17:05         ` Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B852AC6.8040508@gnu.org \
    --to=bonzini@gnu.org \
    --cc=git@vger.kernel.org \
    --cc=michael.lukashov@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).