author | Paul Mackerras <paulus@samba.org> | |
Wed, 24 Oct 2007 00:16:56 +0000 (10:16 +1000) | ||
committer | Paul Mackerras <paulus@samba.org> | |
Wed, 24 Oct 2007 00:16:56 +0000 (10:16 +1000) | ||
commit | 74a40c71102ea925b174da15c74afb15b6b82537 | |
tree | 8ce6954629b950facbc87096aae6fca16de9ccb9 | tree | snapshot |
parent | bd8f677e1c8349b9128490e2a21e0f573d0bea1d | commit | diff |
gitk: Fix a couple more bugs in the path limiting
First, paths ending in a slash were not matching anything. This fixes
path_filter to handle paths ending in a slash (such entries have to
match a directory, and can't match a file, e.g., foo/bar/ can't match
a plain file called foo/bar).
Secondly, clicking in the file list pane (bottom right) was broken
because $treediffs($ids) contained all the files modified by the
commit, not just those within the file list. This fixes that too.
Signed-off-by: Paul Mackerras <paulus@samba.org>
First, paths ending in a slash were not matching anything. This fixes
path_filter to handle paths ending in a slash (such entries have to
match a directory, and can't match a file, e.g., foo/bar/ can't match
a plain file called foo/bar).
Secondly, clicking in the file list pane (bottom right) was broken
because $treediffs($ids) contained all the files modified by the
commit, not just those within the file list. This fixes that too.
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk | diff | blob | history |