[PATCH] Do not include unused header files.
[gitweb.git] / diff-files.c
index bd0eb95f85f1ebfd684e4177ca85c54b585da138..8ab7915977dc2a97fa49ad813a89c676c7208915 100644 (file)
@@ -53,7 +53,7 @@ int main(int argc, const char **argv)
                        diff_output_format = DIFF_FORMAT_MACHINE;
                else if (!strcmp(argv[1], "-R"))
                        diff_setup_opt |= DIFF_SETUP_REVERSE;
-               else if (!strcmp(argv[1], "-S"))
+               else if (!strncmp(argv[1], "-S", 2))
                        pickaxe = argv[1] + 2;
                else if (!strcmp(argv[1], "--pickaxe-all"))
                        pickaxe_opts = DIFF_PICKAXE_ALL;