Merge branch 'mt/dir-iterator-updates'
[gitweb.git] / builtin / submodule--helper.c
index 13da32d3b736f00e2e41aa4729f1f2422c94439e..909e77e802d3302c2486aeb1646fe953d81a0a92 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))