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>
Nguyễn Thái Ngọc Duy committed
May 7, 2019 at 16:50 UTC
1a8787144ddec30f29e177cdae6bd7cea3ba88fe
1 file changed
+1
-1
builtin/submodule--helper.c
+1
-1
@@ -1301,7 +1301,7 @@ static int add_possible_reference_from_superproject(
1301
die(_("submodule '%s' cannot add alternate: %s"),
1302
sas->submodule_name, err.buf);
1303
case SUBMODULE_ALTERNATE_ERROR_INFO:
1304
- fprintf(stderr, _("submodule '%s' cannot add alternate: %s"),
1304
+ fprintf_ln(stderr, _("submodule '%s' cannot add alternate: %s"),
1305
sas->submodule_name, err.buf);
1306
case SUBMODULE_ALTERNATE_ERROR_IGNORE:
1307
; /* nothing */