swh:1:snp:47f1e8bb459169b0feb652a9c3d9cbabd8526d4a
Revision 65bb0bda75f4070a609d266d7231b4ec53d56972 authored by Pat Thoyts on 13 December 2011, 16:50:50 UTC, committed by Paul Mackerras on 18 March 2012, 23:10:59 UTC
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>
1 parent 44acce0
History
Tip revision: 84d06cdc06389ae7c462434cb7b1db0980f63860 authored by Junio C Hamano on 26 March 2021, 21:59:47 UTC
Sync with v2.31.1
Tip revision: 84d06cd
File Mode Size
po
Makefile -rw-r--r-- 1.7 KB
gitk -rwxr-xr-x 320.2 KB

back to top