Code

builtin-fetch: add --dry-run option
authorJay Soffian <jaysoffian@gmail.com>
Tue, 10 Nov 2009 08:19:43 +0000 (09:19 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 10 Nov 2009 09:02:12 +0000 (01:02 -0800)
commit28a1540132ab98a82cb6ed2cb98458e4e7926acd
tree62f638780d73e8403ab6a03ad92564503ccb5cb3
parentf360d844de4b752b4cba2343b95592ae4d55d09a
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>
Documentation/fetch-options.txt
builtin-fetch.c