apply: rename and move opt constants to apply.h
[gitweb.git] / submodule.c
index cdccf65c6bc7b29b8de23882606326ea8bb04f1b..1b5cdfb7e784d646c15e59afb2fb43587a8ff8e9 100644 (file)
@@ -17,7 +17,7 @@
 
 static int config_fetch_recurse_submodules = RECURSE_SUBMODULES_ON_DEMAND;
 static int parallel_jobs = 1;
-static struct string_list changed_submodule_paths;
+static struct string_list changed_submodule_paths = STRING_LIST_INIT_NODUP;
 static int initialized_fetch_ref_tips;
 static struct sha1_array ref_tips_before_fetch;
 static struct sha1_array ref_tips_after_fetch;