Skip to contentSkip to conversation

submodule--helper: add a missing \n

PATCH New Nguyễn Thái Ngọc Duy 1 participant 1 message May 7, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 builtin/submodule--helper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
builtin/submodule--helper.c +1 -1
index 8c72ea864c..0bf4aa088e 100644
@@ -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 */
Signature · 1 line
2.21.0.1120.gde2b49a866