Merge branch 'jk/no-system-includes-in-dot-c' into maint
[gitweb.git] / builtin / submodule--helper.c
index 0bf4aa088e0ca4bf6378d121cfc23e0f42ac3af4..afaf0819c981ff896bf6f0b843b594a660d85a97 100644 (file)
@@ -540,6 +540,7 @@ static void runcommand_in_submodule_cb(const struct cache_entry *list_item,
                if (info->quiet)
                        argv_array_push(&cpr.args, "--quiet");
 
+               argv_array_push(&cpr.args, "--");
                argv_array_pushv(&cpr.args, info->argv);
 
                if (run_command(&cpr))