Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
submodule--helper: fix usage string for relative-path
author
Stefan Beller
<sbeller@google.com>
Fri, 29 Jul 2016 00:44:06 +0000
(17:44 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 1 Aug 2016 21:41:53 +0000
(14:41 -0700)
Internally we call the underscore version of relative_path, but externally
we present an API with no underscores.
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/submodule--helper.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
341238e
)
diff --git
a/builtin/submodule--helper.c
b/builtin/submodule--helper.c
index b22352b6e1e4c40d1a6e182f5c12abf6351f71fb..fb90c64832c6d339a81aa77b5c9a2286d9072a72 100644
(file)
--- a/
builtin/submodule--helper.c
+++ b/
builtin/submodule--helper.c
@@
-892,7
+892,7
@@
static int resolve_relative_path(int argc, const char **argv, const char *prefix
{
struct strbuf sb = STRBUF_INIT;
if (argc != 3)
- die("submodule--helper relative
_
path takes exactly 2 arguments, got %d", argc);
+ die("submodule--helper relative
-
path takes exactly 2 arguments, got %d", argc);
printf("%s", relative_path(argv[1], argv[2], &sb));
strbuf_release(&sb);