Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
remote: fix remote set-url usage
author
Felipe Contreras
<felipe.contreras@gmail.com>
Mon, 7 Nov 2011 03:36:57 +0000
(
05:36
+0200)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 7 Nov 2011 05:16:34 +0000
(21:16 -0800)
Bad copy-paste.
Otherwise the help text for "git remote set-url --help" would show help
for "git remote update" subcommand.
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-remote.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
433f2be
)
diff --git
a/builtin-remote.c
b/builtin-remote.c
index 277765b864202b2b6f20069e0cb3f95eaef4fcaa..c696c2cb9e0ebe190a6f2c7fb4592f0be276efdd 100644
(file)
--- a/
builtin-remote.c
+++ b/
builtin-remote.c
@@
-1286,7
+1286,7
@@
static int set_url(int argc, const char **argv)
"delete URLs"),
OPT_END()
};
- argc = parse_options(argc, argv, NULL, options, builtin_remote_
update
_usage,
+ argc = parse_options(argc, argv, NULL, options, builtin_remote_
seturl
_usage,
PARSE_OPT_KEEP_ARGV0);
if (add_mode && delete_mode)