Documentation: mention ORIG_HEAD in am, merge, and rebase
[gitweb.git] / builtin-update-index.c
index e1ca8deac2158f06208e69e2dc31fff48fac4f88..9e0d7ab11ee01c6a1def223820038a94113f348c 100644 (file)
@@ -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;