Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Update the tutorial a bit
[gitweb.git]
/
diff-files.c
diff --git
a/diff-files.c
b/diff-files.c
index 4d60017e46b1aa54ea07a85b478592408dc34233..3221e319798c46b6208da54b23232b9ec4a048d2 100644
(file)
--- a/
diff-files.c
+++ b/
diff-files.c
@@
-45,7
+45,7
@@
int main(int argc, const char **argv)
int i;
while (1 < argc && argv[1][0] == '-') {
- if (!strcmp(argv[1], "-p"))
+ if (!strcmp(argv[1], "-p")
|| !strcmp(argv[1], "-u")
)
diff_output_format = DIFF_FORMAT_PATCH;
else if (!strcmp(argv[1], "-q"))
silent = 1;