aboutsummaryrefslogtreecommitdiff
path: root/contrib/hooks/setgitperms.perl
diff options
context:
space:
mode:
authorPat Thoyts <patthoyts@users.sourceforge.net>2011-12-13 16:50:50 +0000
committerPaul Mackerras <paulus@samba.org>2012-03-19 10:10:59 +1100
commit65bb0bda75f4070a609d266d7231b4ec53d56972 (patch)
tree97ece392f1b7fdf8967575014d2bcd2e76f03840 /contrib/hooks/setgitperms.perl
parent44acce0befa22bc3af2132540e92da90a3a32286 (diff)
downloadgit-65bb0bda75f4070a609d266d7231b4ec53d56972.tar.gz
git-65bb0bda75f4070a609d266d7231b4ec53d56972.tar.xz
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. Tested-by: David Aguilar <davvid@gmail.com> Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'contrib/hooks/setgitperms.perl')
0 files changed, 0 insertions, 0 deletions