Documentation: git-add -- do not say "cache", add examples.
[gitweb.git] / diff-files.c
index 8a8f9b6dc77683bd7926f8599a2aa6eb03023b57..17899390b80f4bfc03718e92029b5c4de65055b6 100644 (file)
@@ -41,6 +41,11 @@ int main(int argc, const char **argv)
        git_config(git_default_config);
        diff_setup(&diff_options);
        while (1 < argc && argv[1][0] == '-') {
+               if (!strcmp(argv[1], "--")) {
+                       argv++;
+                       argc--;
+                       break;
+               }
                if (!strcmp(argv[1], "-q"))
                        silent = 1;
                else if (!strcmp(argv[1], "-r"))