summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 656cdf0)
raw | patch | inline | side by side (parent: 656cdf0)
author | Philip Jägenstedt <philip.jagenstedt@gmail.com> | |
Sat, 18 Feb 2012 11:17:47 +0000 (12:17 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 20 Feb 2012 07:44:38 +0000 (23:44 -0800) |
The canonical order of command line arguments is always to have dashed
commands before other parameters, but the "git remote set-branches"
subcommand was described to take "name" before an optional "--add".
Signed-off-by: Philip Jägenstedt <philip@foolip.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
commands before other parameters, but the "git remote set-branches"
subcommand was described to take "name" before an optional "--add".
Signed-off-by: Philip Jägenstedt <philip@foolip.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-remote.txt | patch | blob | history | |
builtin/remote.c | patch | blob | history |
index de4386bf7eca2d236a320d83f514cd5010461a1c..7112f94000d2a9e9ed69eaa5d699633d5c95117e 100644 (file)
'git remote rename' <old> <new>
'git remote rm' <name>
'git remote set-head' <name> (-a | -d | <branch>)
-'git remote set-branches' <name> [--add] <branch>...
+'git remote set-branches' [--add] <name> <branch>...
'git remote set-url' [--push] <name> <newurl> [<oldurl>]
'git remote set-url --add' [--push] <name> <newurl>
'git remote set-url --delete' [--push] <name> <url>
diff --git a/builtin/remote.c b/builtin/remote.c
index 06741ecde4ad5feed04ae1b7eaa462735f40a672..7f3514b7087cb92bb54278cbc1fffdb0881d41b8 100644 (file)
--- a/builtin/remote.c
+++ b/builtin/remote.c
"git remote [-v | --verbose] show [-n] <name>",
"git remote prune [-n | --dry-run] <name>",
"git remote [-v | --verbose] update [-p | --prune] [group | remote]",
- "git remote set-branches <name> [--add] <branch>...",
+ "git remote set-branches [--add] <name> <branch>...",
"git remote set-url <name> <newurl> [<oldurl>]",
"git remote set-url --add <name> <newurl>",
"git remote set-url --delete <name> <url>",