Files
git/compat
Johannes Schindelin a8574ecaa7 clean: do not traverse mount points
It seems to be not exactly rare on Windows to install NTFS junction
points (the equivalent of "bind mounts" on Linux/Unix) in worktrees,
e.g. to map some development tools into a subdirectory.

In such a scenario, it is pretty horrible if `git clean -dfx` traverses
into the mapped directory and starts to "clean up".

Let's just not do that. Let's make sure before we traverse into a
directory that it is not a mount point (or junction).

This addresses https://github.com/git-for-windows/git/issues/607

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2021-05-28 10:00:11 +02:00
..
2020-04-16 15:23:42 -07:00
2021-05-28 10:00:11 +02:00
2021-05-28 10:00:11 +02:00
2019-06-25 10:46:57 -07:00
2021-02-26 14:15:51 -08:00
2017-01-23 11:02:34 -08:00