Merge branch 'jk/grep-no-index-fix'
[gitweb.git] / submodule-config.c
index 4bf50f398a5bd705531e32f9329c0e3b7e630506..93453909cf3225e2b4b9630d4013f76987ca8be8 100644 (file)
@@ -251,6 +251,8 @@ static int parse_push_recurse(const char *opt, const char *arg,
                        return RECURSE_SUBMODULES_ON_DEMAND;
                else if (!strcmp(arg, "check"))
                        return RECURSE_SUBMODULES_CHECK;
+               else if (!strcmp(arg, "only"))
+                       return RECURSE_SUBMODULES_ONLY;
                else if (die_on_error)
                        die("bad %s argument: %s", opt, arg);
                else