[PATCH 0/6] Resend of origin/sb/submodule-update-in-c
- From
Stefan Beller <sbeller@google.com>
- Date
- Jul 18, 2018, 19:48 UTC
- Message-ID
- <20180718194853.57994-1-sbeller@google.com>
This fixes the compilation issue raised by SZEDER and Stolee,
6: 3c156c79ae7 ! 6: f82f24e73b6 submodule--helper: introduce new update-module-mode helper
@@ -10,7 +10,6 @@
for arbitrary repositories.
Signed-off-by: Stefan Beller <sbeller@google.com>
- Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff --git a/builtin/submodule--helper.c b/builtin/submodule--helper.c
--- a/builtin/submodule--helper.c
@@ -74,7 +73,7 @@
+ determine_submodule_update_strategy(the_repository,
+ just_cloned, path, update,
+ &update_strategy);
-+ fprintf(stdout, submodule_strategy_to_string(&update_strategy));
++ fputs(submodule_strategy_to_string(&update_strategy), stdout);
+
+ return 0;
+}Thanks, Stefan