Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-submodule.sh: accept verbose flag in cmd_update to be non-quiet
[gitweb.git]
/
builtin
/
diff-files.c
diff --git
a/builtin/diff-files.c
b/builtin/diff-files.c
index a572da9d5152ddf541f71e1aaf8abdb3c98f8ffe..c97069a714e42a1737b5dfa223fe39c26ad9aa67 100644
(file)
--- a/
builtin/diff-files.c
+++ b/
builtin/diff-files.c
@@
-20,6
+20,9
@@
int cmd_diff_files(int argc, const char **argv, const char *prefix)
int result;
unsigned options = 0;
+ if (argc == 2 && !strcmp(argv[1], "-h"))
+ usage(diff_files_usage);
+
git_config(git_diff_basic_config, NULL); /* no "diff" UI options */
init_revisions(&rev, prefix);
gitmodules_config();