gitk: fix the display of files when filtered by path
commitda0c9af43e402d6e80be5ea506bea75585021956
authorPat Thoyts <patthoyts@users.sourceforge.net>
Tue, 13 Dec 2011 16:50:50 +0000 (13 16:50 +0000)
committerKarsten Blees <blees@dcon.de>
Thu, 15 Mar 2012 17:05:33 +0000 (15 18:05 +0100)
tree1f8656cb8aed6f4b8b05dbfab53a522516d1bc39
parent8ec6375188df0038ff5d92497a0fcc9f53d33316
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.

Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Tested-by: David Aguilar <davvid@gmail.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
gitk-git/gitk