summaryrefslogtreecommitdiff
path: root/builtin/submodule--helper.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2019-05-07 09:50:37 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-05-08 10:36:19 (GMT)
commit1a8787144ddec30f29e177cdae6bd7cea3ba88fe (patch)
tree135956a6581418038894fdc9665edfcc6a848cac /builtin/submodule--helper.c
parentaeb582a98374c094361cba1bd756dc6307432c42 (diff)
downloadgit-1a8787144ddec30f29e177cdae6bd7cea3ba88fe.zip
git-1a8787144ddec30f29e177cdae6bd7cea3ba88fe.tar.gz
git-1a8787144ddec30f29e177cdae6bd7cea3ba88fe.tar.bz2
submodule--helper: add a missing \n
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>
Diffstat (limited to 'builtin/submodule--helper.c')
-rw-r--r--builtin/submodule--helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/submodule--helper.c b/builtin/submodule--helper.c
index b80fc4b..163a6b8 100644
--- 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 */