summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3d8b694)
raw | patch | inline | side by side (parent: 3d8b694)
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>
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 |
diff --git a/builtin/remote.c b/builtin/remote.c
index c4d17b52bc7725c1e1c77e1ce3e2379729a924c4..06741ecde4ad5feed04ae1b7eaa462735f40a672 100644 (file)
--- a/builtin/remote.c
+++ b/builtin/remote.c
builtin_remote_setbranches_usage, 0);
if (argc == 0) {
error("no remote specified");
- usage_with_options(builtin_remote_seturl_usage, options);
+ usage_with_options(builtin_remote_setbranches_usage, options);
}
argv[argc] = NULL;