Skip to content

Commit 656cdf0

Browse files
committed
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 <[email protected]>
1 parent 3d8b694 commit 656cdf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin/remote.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1336,7 +1336,7 @@ static int set_branches(int argc, const char **argv)
13361336
builtin_remote_setbranches_usage, 0);
13371337
if (argc == 0) {
13381338
error("no remote specified");
1339-
usage_with_options(builtin_remote_seturl_usage, options);
1339+
usage_with_options(builtin_remote_setbranches_usage, options);
13401340
}
13411341
argv[argc] = NULL;
13421342

0 commit comments

Comments
 (0)