summaryrefslogtreecommitdiff
path: root/t/t9152-svn-empty-dirs-after-gc.sh
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2021-02-16 09:44:37 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-02-16 09:41:33 -0800
commitadcd9f54729e41aa63c3a1b80a19023ea8ede203 (patch)
tree22803d5cdcabd2fb680db6515df36d58bcfbef80 /t/t9152-svn-empty-dirs-after-gc.sh
parentexclude: do not respect symlinks for in-tree .gitignore (diff)
downloadtgif-adcd9f54729e41aa63c3a1b80a19023ea8ede203.tar.xz
mailmap: do not respect symlinks for in-tree .mailmap
As with .gitattributes and .gitignore, we would like to make sure that .mailmap files are handled consistently whether read from the a blob (as is the default behavior in a bare repo) or from the filesystem. Likewise, we would like to avoid reading out-of-tree files pointed to by a symlink, which could have security implications in certain setups. We can cover both by using open_nofollow() when opening the in-tree files. We'll continue to follow links for mailmap.file, as well as when reading .mailmap from the current directory when outside of a repository entirely. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9152-svn-empty-dirs-after-gc.sh')
0 files changed, 0 insertions, 0 deletions