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

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

From
Björn Gustavsson <bgustavsson@gmail.com>
Date
Nov 8, 2009, 15:44 UTC
Message-ID
<4AF6E774.80909@gmail.com>

After having done my previous patch to implement 'git fetch --all' I decided to implement as much functionality in 'git fetch' to make it possibility to re-implement 'git remote update' in terms of 'git fetch'.

The following things are currently missing from the patch series:
* updated documentation
* test cases for the group functionality in fetch
* support for 'git remote update --prune'

There is also a slight backward incompatibility that I know of (see the commit message for the last commit). I could fix that, if there are people depending on it.

I have no idea how much of the group functionality is really used. If someone knows that "no-one uses THIS feature and" it would be nice to know.

Björn Gustavsson (4):
  Teach the --all option to 'git fetch'
  Teach the --multiple option to 'git fetch'
  Add the configure variable skipFetchAll
  Re-implement 'git remote update' using 'git fetch'
 Documentation/git-fetch.txt |    5 ++
 builtin-fetch.c             |  158 ++++++++++++++++++++++++++++++++++++++-----
 builtin-remote.c            |   86 +++++++----------------
 remote.c                    |    3 +-
 t/t5514-fetch-all.sh        |   76 +++++++++++++++++++++
 5 files changed, 249 insertions(+), 79 deletions(-)
 create mode 100755 t/t5514-fetch-all.sh
Message 1 of 1 in “Re-implement 'remote update' using 'fetch'”
  1. 0/4 Re-implement 'remote update' using 'fetch'Björn Gustavsson, Nov 8, 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.