Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
submodule--helper: add a missing \n
author
Nguyễn Thái Ngọc Duy
<pclouds@gmail.com>
Tue, 7 May 2019 09:50:37 +0000
(16:50 +0700)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 8 May 2019 10:36:19 +0000
(19:36 +0900)
This is a complete line. We're not expecting the next function to add
anything to the same line.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/submodule--helper.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
aeb582a
)
diff --git
a/builtin/submodule--helper.c
b/builtin/submodule--helper.c
index b80fc4ba3d88b56436fa3f6b9a132bfe9e82b79b..163a6b8b994582070c04b366950d5f827937bfd0 100644
(file)
--- a/
builtin/submodule--helper.c
+++ b/
builtin/submodule--helper.c
@@
-1301,7
+1301,7
@@
static int add_possible_reference_from_superproject(
die(_("submodule '%s' cannot add alternate: %s"),
sas->submodule_name, err.buf);
case SUBMODULE_ALTERNATE_ERROR_INFO:
- fprintf(stderr, _("submodule '%s' cannot add alternate: %s"),
+ fprintf
_ln
(stderr, _("submodule '%s' cannot add alternate: %s"),
sas->submodule_name, err.buf);
case SUBMODULE_ALTERNATE_ERROR_IGNORE:
; /* nothing */