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

Re: [RFC/PATCH 4/4] Re-implement 'git remote update' using 'git fetch'

From
Paolo Bonzini <bonzini@gnu.org>
Date
Nov 8, 2009, 21:10 UTC
Message-ID
<hd7c4k$aul$3@ger.gmane.org>
In-Reply-To
<4AF6E865.1030900@gmail.com>
On 11/08/2009 04:48 PM, Björn Gustavsson wrote:
Show 7 quoted lines
> In order to not duplicate functionality, re-implement 'git remote
> update' in terms of 'git fetch'.
>
> There is one incompatibility: the skipDefaultUpdate configuration
> variable will only be honored if remotes.default is not set (i.e.
> when 'git remote update' will invoke 'git fetch --all', not when
> it will invoke 'git fetch default').

Rather than introducing this incompatibility, I'd rather see 'git remote update' deprecated (so that the code will one day go away for good) and, for now, leave duplicated functionality for the incompatible case.

It would be great if the deprecation message for "git remote update" spewed out commands to convert the old configuration to what is needed for "git fetch --all" to work in the same way.

Paolo
Previous: Björn GustavssonNext: Björn Gustavsson
Message 2 of 5 in “Re-implement 'git remote update' using 'git fetch'”
  1. 4/4 Re-implement 'git remote update' using 'git fetch'Björn Gustavsson, Nov 8, 2009
  2. Paolo BonziniNov 8, 2009
  3. Björn GustavssonNov 8, 2009
  4. Jay SoffianNov 9, 2009
  5. Björn GustavssonNov 9, 2009

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.