mirror of
https://github.com/git/git.git
synced 2025-12-23 12:14:22 +01:00
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>