Re-implement 'git remote update' using 'git fetch'
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | Teach the --all option to 'git fetch'Documentation/ Documentation/ Documentation/ +3 more | +247 | 0 replies | |
| 2/5 | Teach the --multiple option to 'git fetch'Documentation/ Documentation/ builtin-fetch.c +1 more | +62 | 0 replies | |
| 3/5 | Add the configuration option skipFetchAllDocumentation/ builtin-fetch.c remote.c +1 more | +48 | 0 replies | |
| 4/5 | Add missing test for 'git remote update --prune't/ | +11 | 0 replies | |
| 5/5 | Re-implement 'git remote update' using 'git fetch'builtin-remote.c t/ | +27 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] Re-implement 'git remote update' using 'git fetch'
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