git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Björn Gustavsson" <bgustavsson@gmail.com>
To: git@vger.kernel.org
Cc: Junio C Hamano <gitster@pobox.com>
Subject: [PATCH 0/5] Re-implement 'git remote update' using 'git fetch'
Date: Mon, 09 Nov 2009 21:08:52 +0100	[thread overview]
Message-ID: <4AF876D4.5010207@gmail.com> (raw)

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

                 reply	other threads:[~2009-11-09 20:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4AF876D4.5010207@gmail.com \
    --to=bgustavsson@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.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).