Fix push with refspecs containing wildcards
[gitweb.git] / wt-status.c
index f053c15ffe266d9925379a71781bdacd56fcea26..4bfe8f15d8a0e275f1ed2d2458cda4d592f7c630 100644 (file)
@@ -263,7 +263,7 @@ static void wt_status_print_untracked(struct wt_status *s)
        if (excludes_file && file_exists(excludes_file))
                add_excludes_from_file(&dir, excludes_file);
 
-       read_directory(&dir, ".", "", 0);
+       read_directory(&dir, ".", "", 0, NULL);
        for(i = 0; i < dir.nr; i++) {
                /* check for matching entry, which is unmerged; lifted from
                 * builtin-ls-files:show_other_files */