Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
parse-opt: add PARSE_OPT_KEEP_ARGV0 parser option.
[gitweb.git]
/
builtin-update-index.c
diff --git
a/builtin-update-index.c
b/builtin-update-index.c
index e1ca8deac2158f06208e69e2dc31fff48fac4f88..9e0d7ab11ee01c6a1def223820038a94113f348c 100644
(file)
--- a/
builtin-update-index.c
+++ b/
builtin-update-index.c
@@
-593,6
+593,10
@@
int cmd_update_index(int argc, const char **argv, const char *prefix)
refresh_flags |= REFRESH_QUIET;
continue;
}
+ if (!strcmp(path, "--ignore-submodules")) {
+ refresh_flags |= REFRESH_IGNORE_SUBMODULES;
+ continue;
+ }
if (!strcmp(path, "--add")) {
allow_add = 1;
continue;