diff-no-index: do not take a redundant prefix argument
[gitweb.git] / builtin / diff.c
index 4326fa56bfa2021c6518c225eaa3f89b8b852e11..7b9917b03e63cab68cb18a006bb1d06c2012818e 100644 (file)
@@ -341,7 +341,7 @@ int cmd_diff(int argc, const char **argv, const char *prefix)
        }
        if (no_index)
                /* If this is a no-index diff, just run it and exit there. */
-               diff_no_index(&rev, argc, argv, prefix);
+               diff_no_index(&rev, argc, argv);
 
        /* Otherwise, we are doing the usual "git" diff */
        rev.diffopt.skip_stat_unmatch = !!diff_auto_refresh_index;