aboutsummaryrefslogtreecommitdiff
path: root/Documentation/git-remote.txt
diff options
context:
space:
mode:
authorThomas Rast <trast@inf.ethz.ch>2013-04-24 15:54:37 +0200
committerJunio C Hamano <gitster@pobox.com>2013-04-24 13:13:21 -0700
commitb17dd3f9d6b1657b3fbfb40a863fc2dce5f54798 (patch)
treee75903a0b2f839dbfcd1d8d612bcef1210e32383 /Documentation/git-remote.txt
parent2d2e3d25595c1bcd2259db5eb7604f196d35949f (diff)
downloadgit-b17dd3f9d6b1657b3fbfb40a863fc2dce5f54798.tar.gz
git-b17dd3f9d6b1657b3fbfb40a863fc2dce5f54798.tar.xz
remote: 'show' and 'prune' can take more than one remote
The 'git remote show' and 'prune' subcommands are documented as taking only a single remote name argument, but that is not the case; they will simply iterate the action over all remotes given. Update the documentation and tests to match. With the last user of the -f flag gone, we also remove the code supporting it. Signed-off-by: Thomas Rast <trast@inf.ethz.ch> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-remote.txt')
-rw-r--r--Documentation/git-remote.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/git-remote.txt b/Documentation/git-remote.txt
index e8c396b5f..7a6f35468 100644
--- a/Documentation/git-remote.txt
+++ b/Documentation/git-remote.txt
@@ -18,8 +18,8 @@ SYNOPSIS
'git remote set-url' [--push] <name> <newurl> [<oldurl>]
'git remote set-url --add' [--push] <name> <newurl>
'git remote set-url --delete' [--push] <name> <url>
-'git remote' [-v | --verbose] 'show' [-n] <name>
-'git remote prune' [-n | --dry-run] <name>
+'git remote' [-v | --verbose] 'show' [-n] <name>...
+'git remote prune' [-n | --dry-run] <name>...
'git remote' [-v | --verbose] 'update' [-p | --prune] [(<group> | <remote>)...]
DESCRIPTION