git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v2] pull: fix 'git pull --all' when current branch is tracking remote that is not last in the list of remotes

From
Paolo Bonzini <bonzini@gnu.org>
Date
Feb 24, 2010, 13:33 UTC
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
Previous: Michael LukashovNext: Junio C Hamano
Message 6 of 7 in “pull: fix 'git pull --all' when current branch is tracking remote that is not last in the list of remotes”
  1. pull: fix 'git pull --all' when current branch is tracking remote that is not last in the list of remotesMichael Lukashov, Feb 23, 2010
  2. Junio C HamanoFeb 23, 2010
  3. Michael LukashovFeb 23, 2010
  4. Junio C HamanoFeb 24, 2010
  5. pull: fix 'git pull --all' when current branch is tracking remote that is not last in the list of remotesMichael Lukashov, Feb 24, 2010
  6. Paolo BonziniFeb 24, 2010
  7. Junio C HamanoFeb 24, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.