Code

gitk: Fix the display of files when filtered by path
authorPat Thoyts <patthoyts@users.sourceforge.net>
Tue, 13 Dec 2011 16:50:50 +0000 (16:50 +0000)
committerPaul Mackerras <paulus@samba.org>
Sun, 18 Mar 2012 23:10:59 +0000 (10:10 +1100)
commit65bb0bda75f4070a609d266d7231b4ec53d56972
tree97ece392f1b7fdf8967575014d2bcd2e76f03840
parent44acce0befa22bc3af2132540e92da90a3a32286
gitk: Fix the display of files when filtered by path

Launching 'gitk -- .' or 'gitk -- ..\t' restricts the display to files
under the given directory but the file list is left empty. This is because
the path_filter function fails to match the filenames which are relative
to the working tree to the filter which is filessytem relative.
This solves the problem by making both names fully qualified filesystem
paths before performing the comparison.

Tested-by: David Aguilar <davvid@gmail.com>
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk