projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update git-daemon's documentation wrt. new options
[git.git]
/
diff-files.c
diff --git
a/diff-files.c
b/diff-files.c
index
8a8f9b6
..
1789939
100644
(file)
--- 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"))