Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jk/alternate-ref-optim'
[gitweb.git]
/
submodule-config.c
diff --git
a/submodule-config.c
b/submodule-config.c
index 4bf50f398a5bd705531e32f9329c0e3b7e630506..93453909cf3225e2b4b9630d4013f76987ca8be8 100644
(file)
--- a/
submodule-config.c
+++ b/
submodule-config.c
@@
-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