author | Yann Dirson <ydirson@altern.org> | |
Sun, 27 Nov 2005 22:29:30 +0000 (23:29 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 27 Nov 2005 22:42:51 +0000 (14:42 -0800) | ||
commit | 55d1eb047d4dffc633502ea2a80dd092194fc900 | |
tree | 5596ac6f4661c80f823d93de7fa9aeec65ace1f1 | tree | snapshot |
parent | 56fc63193975edd4b9f520b6c65c2b97ecd8ee38 | commit | diff |
Fix gitk this->selected diffs
The change made in 8b7e5d76e836396a097bb6f61cf930ea872a7bd3 to
accomodate dense revlists in single-commit diffs has broken computing
of diffs between arbitrary trees, which does need to consider two
commit ids.
This patch changes the two git-diff-tree calls to get the necessary
two ids in this case. It does so by propagating a "singlecommit" flag
through all functions involved via an additional argument.
Signed-off-by: Yann Dirson <ydirson@altern.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
The change made in 8b7e5d76e836396a097bb6f61cf930ea872a7bd3 to
accomodate dense revlists in single-commit diffs has broken computing
of diffs between arbitrary trees, which does need to consider two
commit ids.
This patch changes the two git-diff-tree calls to get the necessary
two ids in this case. It does so by propagating a "singlecommit" flag
through all functions involved via an additional argument.
Signed-off-by: Yann Dirson <ydirson@altern.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitk | diff | blob | history |