diff A...B: give one possible diff when there are more than one merge-base
commitc008c0ff2087da7b98adfa760247776619b32224
authorJunio C Hamano <gitster@pobox.com>
Tue, 13 Jul 2010 00:27:46 +0000 (12 17:27 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 13 Jul 2010 20:53:20 +0000 (13 13:53 -0700)
tree6e31414f8d7a4a04bb85a4e9bcfae77a182f666c
parent29981380d03ffa63765dbeaea53a7ac9e8d6bc4f
diff A...B: give one possible diff when there are more than one merge-base

We instead showed a combined diff that explains one of the randomly
chosen merge-base as if it were the result of merging all the other
merge bases and two tips given, which made no sense at all.

An alternative is to simply fail such a request, telling the user that
there are criss-cross merges, but it wouldn't be so helpful.

Noticed by James Pickens.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-diff.c