diff: remove "diff-files -q" in a version of Git in a distant future
[gitweb.git] / diff-no-index.c
index 74da659368e4db67715a9c81dc7a5e0edcd3bcce..98a9cf1322068b97ad017e2747f3f0f4d313bda7 100644 (file)
@@ -187,7 +187,6 @@ void diff_no_index(struct rev_info *revs,
 {
        int i, prefixlen;
        int no_index = 0;
-       unsigned options = 0;
        const char *paths[2];
 
        /* Were we asked to do --no-index explicitly? */
@@ -224,10 +223,6 @@ void diff_no_index(struct rev_info *revs,
                int j;
                if (!strcmp(argv[i], "--no-index"))
                        i++;
-               else if (!strcmp(argv[i], "-q")) {
-                       options |= DIFF_SILENT_ON_REMOVED;
-                       i++;
-               }
                else if (!strcmp(argv[i], "--"))
                        i++;
                else {