git-diff A...B to (usually) mean "git-diff `git-merge-base A B` B"
authorJunio C Hamano <junkio@cox.net>
Mon, 17 Jul 2006 07:34:44 +0000 (00:34 -0700)
committerJunio C Hamano <junkio@cox.net>
Mon, 17 Jul 2006 08:10:03 +0000 (01:10 -0700)
commit9919f41c91e525fd813fd2cd006f8fdcf976a661
tree9ceb718b96776fe367f36af447a3572c30ba8a14
parentb9718d41c7e9c171e432bafac97a33be36f0e2bf
git-diff A...B to (usually) mean "git-diff `git-merge-base A B` B"

This tweaks the argument parser of "git diff" to allow "git-diff
A...B" to show diffs leading to B since their merge-base, when
there is only one sensible merge base between A and B.

Currently nonsense cases are thrown at combined-diff to produce
nonsense results, which would eventually need to be fixed.

Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-diff.c