Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
remote: fix set-branches usage
author
Junio C Hamano
<gitster@pobox.com>
Mon, 7 Nov 2011 05:12:59 +0000
(21:12 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 7 Nov 2011 05:15:30 +0000
(21:15 -0800)
Bad copy-paste.
Otherwise "git remote set-branches" without necessary argument
will result in an error message and help for set-url subcommand.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/remote.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
3d8b694
)
diff --git
a/builtin/remote.c
b/builtin/remote.c
index c4d17b52bc7725c1e1c77e1ce3e2379729a924c4..06741ecde4ad5feed04ae1b7eaa462735f40a672 100644
(file)
--- a/
builtin/remote.c
+++ b/
builtin/remote.c
@@
-1336,7
+1336,7
@@
static int set_branches(int argc, const char **argv)
builtin_remote_setbranches_usage, 0);
if (argc == 0) {
error("no remote specified");
- usage_with_options(builtin_remote_set
url
_usage, options);
+ usage_with_options(builtin_remote_set
branches
_usage, options);
}
argv[argc] = NULL;