author | Junio C Hamano <junkio@cox.net> | |
Mon, 17 Jul 2006 07:34:44 +0000 (00:34 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 17 Jul 2006 08:10:03 +0000 (01:10 -0700) | ||
commit | 9919f41c91e525fd813fd2cd006f8fdcf976a661 | |
tree | 9ceb718b96776fe367f36af447a3572c30ba8a14 | tree | snapshot |
parent | b9718d41c7e9c171e432bafac97a33be36f0e2bf | commit | diff |
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>
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 | diff | blob | history |