summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 567a03d)
raw | patch | inline | side by side (parent: 567a03d)
author | Junio C Hamano <junkio@cox.net> | |
Thu, 10 Aug 2006 07:50:15 +0000 (00:50 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 10 Aug 2006 07:50:15 +0000 (00:50 -0700) |
Commit 9919f41 meant to make git-diff A...B to (usually) mean
"git-diff `git-merge-base A B` B", but it got the parameters wrong
and ended up showing "git-diff `git-merge-base A B` A" by mistake.
Signed-off-by: Junio C Hamano <junkio@cox.net>
"git-diff `git-merge-base A B` B", but it got the parameters wrong
and ended up showing "git-diff `git-merge-base A B` A" by mistake.
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-diff.c | patch | blob | history |
diff --git a/builtin-diff.c b/builtin-diff.c
index dd9886c6e81030bfd893089e5d2a34fe710f0ba7..a090e298a55ef110a6fdd0e0dde54ea744a52f76 100644 (file)
--- a/builtin-diff.c
+++ b/builtin-diff.c
* A and B. We have ent[0] == merge-base, ent[1] == A,
* and ent[2] == B. Show diff between the base and B.
*/
+ ent[1] = ent[2];
return builtin_diff_tree(&rev, argc, argv, ent);
}
else