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

[PATCH 0/5] Re-implement 'git remote update' using 'git fetch'

From
Björn Gustavsson <bgustavsson@gmail.com>
Date
Nov 9, 2009, 20:08 UTC
Message-ID
<4AF876D4.5010207@gmail.com>

Here is the re-roll of my patch series for extending the capabilities of 'git fetch' so that it can be used for re-implementing 'git remote update'.

Since Jay Soffian is working on implementing 'git fetch --prune', I have not attempted to implement it myself. Therefore, 'git fetch update' in the final patch still silently ignores the --prune option.

I have made the following changes compared to the previous version of the series:

* Updated the usage strings in builtin_fetch.c.
* Added test cases for testing the new functionality in
  'git fetch'.
* Updated the documentation.
* Added a new test case for 'git remote update --prune'.
  (Since all tests case succeeded even though 'git
  remote update' didn't handle --prune correctly, there
  was clearly a missing test case.) In the final commit,
  I marked that new test case as a known breakage, so
  that the test suite will still pass.
* Some corrections and improvements of the commit
  messages.
Björn Gustavsson (5):
  Teach the --all option to 'git fetch'
  Teach the --multiple option to 'git fetch'
  Add the configuration option skipFetchAll
  Add missing test for 'git remote update --prune'
  Re-implement 'git remote update' using 'git fetch'
 Documentation/config.txt           |    8 ++-
 Documentation/fetch-options.txt    |    9 ++
 Documentation/git-fetch.txt        |   14 +++-
 Documentation/pull-fetch-param.txt |    7 ++
 builtin-fetch.c                    |  160 ++++++++++++++++++++++++++++++++----
 builtin-remote.c                   |   86 ++++++-------------
 remote.c                           |    3 +-
 t/t5505-remote.sh                  |   11 +++
 t/t5506-remote-groups.sh           |   21 ++++-
 t/t5514-fetch-multiple.sh          |  154 ++++++++++++++++++++++++++++++++++
 10 files changed, 389 insertions(+), 84 deletions(-)
 create mode 100755 t/t5514-fetch-multiple.sh
Message 1 of 1 in “Re-implement 'git remote update' using 'git fetch'”
  1. 0/5 Re-implement 'git remote update' using 'git fetch'Björn Gustavsson, Nov 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.