builtin/fetch: parse recurse-submodules-default at default options parsing
[gitweb.git] / builtin / rm.c
index 30c4332c68e24032afa9df49a894d01310a08d68..b39f10fcb64f047090967dbf8b31120d2beb1b67 100644 (file)
@@ -271,8 +271,7 @@ int cmd_rm(int argc, const char **argv, const char *prefix)
                die(_("index file corrupt"));
 
        parse_pathspec(&pathspec, 0,
-                      PATHSPEC_PREFER_CWD |
-                      PATHSPEC_STRIP_SUBMODULE_SLASH_CHEAP,
+                      PATHSPEC_PREFER_CWD,
                       prefix, argv);
        refresh_index(&the_index, REFRESH_QUIET, &pathspec, NULL, NULL);