pull: optionally rebase submodules (remote submodule changes only)
[gitweb.git] / builtin / submodule--helper.c
index a78b003c25ba95a4030499d21dac6b5f6a43dec9..1b4d2b346762af8e6150d88fed87409e877ca676 100644 (file)
@@ -233,8 +233,7 @@ static int module_list_compute(int argc, const char **argv,
        int i, result = 0;
        char *ps_matched = NULL;
        parse_pathspec(pathspec, 0,
-                      PATHSPEC_PREFER_FULL |
-                      PATHSPEC_STRIP_SUBMODULE_SLASH_CHEAP,
+                      PATHSPEC_PREFER_FULL,
                       prefix, argv);
 
        if (pathspec->nr)