From: Junio C Hamano Date: Mon, 7 Nov 2011 05:12:59 +0000 (-0800) Subject: remote: fix set-branches usage X-Git-Tag: v1.7.8-rc2~4^2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=656cdf0c9ebe2899ef79020285c9a6243dc84d97;p=git.git remote: fix set-branches usage 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 --- diff --git a/builtin/remote.c b/builtin/remote.c index c4d17b52b..06741ecde 100644 --- 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_seturl_usage, options); + usage_with_options(builtin_remote_setbranches_usage, options); } argv[argc] = NULL;