Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
read-cache/write-cache: optionally return cache checksum SHA1.
[gitweb.git]
/
diff-tree.c
diff --git
a/diff-tree.c
b/diff-tree.c
index 979f792b6758101cb490f36ba3acff5d7d4b4473..7207867a74d0869c6a6b839c040321c843ee9c2f 100644
(file)
--- a/
diff-tree.c
+++ b/
diff-tree.c
@@
-69,7
+69,9
@@
int main(int argc, const char **argv)
git_config(git_diff_config);
nr_sha1 = 0;
+ init_revisions(opt);
opt->abbrev = 0;
+ opt->diff = 1;
argc = setup_revisions(argc, argv, opt, NULL);
while (--argc > 0) {