diff options
Diffstat (limited to 'diff-files.c')
-rw-r--r-- | diff-files.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/diff-files.c b/diff-files.c index 8a8f9b6dc7..17899390b8 100644 --- a/diff-files.c +++ b/diff-files.c @@ -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")) |