From: Nguyễn Thái Ngọc Duy Date: Tue, 7 May 2019 09:50:37 +0000 (+0700) Subject: submodule--helper: add a missing \n X-Git-Tag: v2.22.0-rc1~32^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1a8787144ddec30f29e177cdae6bd7cea3ba88fe;p=thirdparty%2Fgit.git 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 Signed-off-by: Junio C Hamano --- diff --git a/builtin/submodule--helper.c b/builtin/submodule--helper.c index b80fc4ba3d..163a6b8b99 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 */