Merge branch 'prevent-name-squatting-on-windows'
commit4778452597027f6033db9f3ba6709913eadc3c8c
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Mon, 16 Sep 2019 11:26:40 +0000 (16 13:26 +0200)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Wed, 4 Dec 2019 12:23:22 +0000 (4 13:23 +0100)
treec3e36cceeadde0713a1f154b075ca1176f1b4a8b
parenta7b1ad3b05fd1dc03c3de12ea4f2d8118ad24e2c
parente1d911dd4c7b76a5a8cec0f5c8de15981e34da83
Merge branch 'prevent-name-squatting-on-windows'

This patch series fixes an issue where Git could formerly have been
tricked into creating a `.git` file with an unexpected (and therefore
unprotected) NTFS short name.

Incidentally, it also fixes an issue where a tree entry containing a
backslash could be tricked into following a symbolic link, i.e. Git
could be tricked into writing files outside the worktree.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>