{"thread":{"id":"51046","subject":"[PATCH] submodule--helper: add a missing \\n","startedAt":"2019-05-07T09:50:47Z","lastAt":"2019-05-07T09:50:47Z","messageCount":1,"participants":["Nguyễn Thái Ngọc Duy"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"375005","messageId":"20190507095037.11630-1-pclouds@gmail.com","threadId":"51046","inReplyTo":null,"subject":"[PATCH] submodule--helper: add a missing \\n","fromName":"Nguyễn Thái Ngọc Duy","fromEmail":"pclouds@gmail.com","sentAt":"2019-05-07T09:50:37Z","receivedAt":"2019-05-07T09:50:47Z","isPatch":true,"sender":{"key":"pclouds@gmail.com","avatar":"https://avatars.githubusercontent.com/u/720?v=4"},"body":"This is a complete line. We're not expecting the next function to add\nanything to the same line.\n\nSigned-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>\n---\n builtin/submodule--helper.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\n\ndiff --git a/builtin/submodule--helper.c b/builtin/submodule--helper.c\nindex 8c72ea864c..0bf4aa088e 100644\n--- a/builtin/submodule--helper.c\n+++ b/builtin/submodule--helper.c\n@@ -1301,7 +1301,7 @@ static int add_possible_reference_from_superproject(\n \t\t\t\tdie(_(\"submodule '%s' cannot add alternate: %s\"),\n \t\t\t\t    sas->submodule_name, err.buf);\n \t\t\tcase SUBMODULE_ALTERNATE_ERROR_INFO:\n-\t\t\t\tfprintf(stderr, _(\"submodule '%s' cannot add alternate: %s\"),\n+\t\t\t\tfprintf_ln(stderr, _(\"submodule '%s' cannot add alternate: %s\"),\n \t\t\t\t\tsas->submodule_name, err.buf);\n \t\t\tcase SUBMODULE_ALTERNATE_ERROR_IGNORE:\n \t\t\t\t; /* nothing */\n-- \n2.21.0.1120.gde2b49a866\n\n"}]}