gitk: fix the display of files when a path filter is present pt/path-filter
authorPat Thoyts <patthoyts@users.sourceforge.net>
Tue, 13 Dec 2011 16:50:50 +0000 (16:50 +0000)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Tue, 13 Dec 2011 22:46:23 +0000 (22:46 +0000)
commitfcdf05eb32cd45981ddcebb945b9e842a014267a
treedaca0d0fd5cb4ba5362b5db9ba80653f8ed4eedc
parentde665fd3cfee674a62818246dfb158ecf81b2b76
gitk: fix the display of files when a path filter is present

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>
gitk