summaryrefslogtreecommitdiff
path: root/t/t6101-rev-parse-parents.sh
diff options
context:
space:
mode:
authorLibravatar Matt McCutchen <matt@mattmccutchen.net>2008-10-10 21:56:15 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-12-07 14:57:57 -0800
commitdbc2fb6b841dd3a72c52a5a161e2362a26fc65f5 (patch)
tree8171a2c869f6b1ef3a8a849fab1af952874d77de /t/t6101-rev-parse-parents.sh
parenttag: delete TAG_EDITMSG only on successful tag (diff)
downloadtgif-dbc2fb6b841dd3a72c52a5a161e2362a26fc65f5.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 't/t6101-rev-parse-parents.sh')
0 files changed, 0 insertions, 0 deletions