author | Jay Soffian <jaysoffian@gmail.com> | |
Tue, 10 Nov 2009 08:19:43 +0000 (09:19 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 10 Nov 2009 09:02:12 +0000 (01:02 -0800) | ||
commit | 28a1540132ab98a82cb6ed2cb98458e4e7926acd | |
tree | 62f638780d73e8403ab6a03ad92564503ccb5cb3 | tree | snapshot |
parent | f360d844de4b752b4cba2343b95592ae4d55d09a | commit | diff |
builtin-fetch: add --dry-run option
Teach fetch --dry-run as users of "git remote prune" switching to "git fetch
--prune" may expect it. Unfortunately OPT__DRY_RUN() cannot be used as fetch
already uses "-n" for something else.
Signed-off-by: Jay Soffian <jaysoffian@gmail.com>
Signed-off-by: Björn Gustavsson <bgustavsson@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Teach fetch --dry-run as users of "git remote prune" switching to "git fetch
--prune" may expect it. Unfortunately OPT__DRY_RUN() cannot be used as fetch
already uses "-n" for something else.
Signed-off-by: Jay Soffian <jaysoffian@gmail.com>
Signed-off-by: Björn Gustavsson <bgustavsson@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/fetch-options.txt | diff | blob | history | |
builtin-fetch.c | diff | blob | history |