Merge branch 'jt/fetch-no-update-shallow-in-proto-v2'
[gitweb.git] / builtin / submodule--helper.c
index 6bcc4f1bd773b38f5895d3404419e362ded63d2a..8342b78add833808ebe71d7862639290c4b7a677 100644 (file)
@@ -348,7 +348,7 @@ static int module_list_compute(int argc, const char **argv,
                        i++;
        }
 
-       if (ps_matched && report_path_error(ps_matched, pathspec, prefix))
+       if (ps_matched && report_path_error(ps_matched, pathspec))
                result = -1;
 
        free(ps_matched);