Merge branch 'nd/exclude-workaround-top-heavy'
[gitweb.git] / revision.c
index 935e7a7ba413668c95a6c3e846b9058be07f0425..39cc6b0eab413d59c8f8c35a8d994df8d2025741 100644 (file)
@@ -1781,7 +1781,7 @@ int setup_revisions(int argc, const char **argv, struct rev_info *revs, struct s
                         * but the latter we have checked in the main loop.
                         */
                        for (j = i; j < argc; j++)
-                               verify_filename(revs->prefix, argv[j]);
+                               verify_filename(revs->prefix, argv[j], j == i);
 
                        append_prune_data(&prune_data, argv + i);
                        break;