diff options
author | Paul Mackerras <paulus@samba.org> | 2006-05-02 19:55:31 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-05-02 19:55:31 +1000 |
commit | 89b11d3ba5132e44cc04826c297a34e31788d0ab (patch) | |
tree | 7fd0a041af80777c12a41d326f2a47b370c8e24b /daemon.c | |
parent | gitk: Basic support for highlighting one view within another (diff) | |
download | tgif-89b11d3ba5132e44cc04826c297a34e31788d0ab.tar.xz |
gitk: Fix file list display when files are renamed
The conversion of the file list to use a text widget assumed incorrectly
that the list of files from git-diff-tree -r would correspond 1-1 with
the diff sections in the output of git-diff-tree -r -p -C, which is
not true when renames are detected. This fixes it by keeping the
elements in the difffilestart list in the order they appear in the
file list window.
Since this means that the elements of difffilestart are no longer
necessarily in ascending order, it's somewhat hard to do the dynamic
highlighting in the file list as the diff window is scrolled, so I
have taken that out for now.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'daemon.c')
0 files changed, 0 insertions, 0 deletions