summaryrefslogtreecommitdiff
path: root/Documentation/git-name-rev.txt
diff options
context:
space:
mode:
authorLibravatar Matt McCutchen <matt@mattmccutchen.net>2008-10-10 21:56:15 -0400
committerLibravatar Shawn O. Pearce <spearce@spearce.org>2008-10-12 12:36:19 -0700
commitb75271d93a9e4be960d53fc4f955802530e0e733 (patch)
tree992479e9107dc2186498b675caf0ffda318a86b3 /Documentation/git-name-rev.txt
parentReplace calls to strbuf_init(&foo, 0) with STRBUF_INIT initializer (diff)
downloadtgif-b75271d93a9e4be960d53fc4f955802530e0e733.tar.xz
"git diff <tree>{3,}": do not reverse order of arguments
According to the message of commit 0fe7c1de16f71312e6adac4b85bddf0d62a47168, "git diff" with three or more trees expects the merged tree first followed by the parents, in order. However, this command reversed the order of its arguments, resulting in confusing diffs. A comment /* Again, the revs are all reverse */ suggested there was a reason for this, but I can't figure out the reason, so I removed the reversal of the arguments. Test case included. Signed-off-by: Matt McCutchen <matt@mattmccutchen.net> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'Documentation/git-name-rev.txt')
0 files changed, 0 insertions, 0 deletions