gitk: fix the display of files when filtered by path
commit6ba5245babe194211afbbbc70bbe1694db17a36c
authorPat Thoyts <patthoyts@users.sourceforge.net>
Tue, 13 Dec 2011 16:50:50 +0000 (13 16:50 +0000)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Sun, 29 Jan 2012 11:07:42 +0000 (29 11:07 +0000)
treea8bdeeb0f110736e85ea51d3083f038d2885806a
parent5e20e60bd73f3292a3142cc0e1f805533e75b8a0
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