Files
git/builtin
Johannes Schindelin 8fadfa3357 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>
2020-10-06 01:21:51 +02:00
..
2020-10-06 01:10:05 +02:00
2020-10-06 01:10:05 +02:00
2020-10-06 01:10:05 +02:00
2020-10-06 01:10:05 +02:00
2020-05-05 14:54:27 -07:00
2020-06-08 18:06:30 -07:00
2020-10-06 01:21:51 +02:00
2020-10-06 01:10:05 +02:00
2020-10-06 01:10:05 +02:00
2020-10-06 01:10:05 +02:00
2020-10-06 01:10:05 +02:00
2020-06-25 12:27:47 -07:00
2020-10-06 01:10:05 +02:00
2020-03-24 15:04:43 -07:00
2020-07-06 22:09:15 -07:00
2020-10-06 01:10:05 +02:00
2020-10-06 01:12:48 +02:00
2020-05-01 13:39:59 -07:00
2020-04-28 10:47:10 -07:00
2020-10-06 01:10:05 +02:00
2020-03-24 15:04:44 -07:00
2020-05-13 12:19:18 -07:00
2020-10-06 01:10:05 +02:00
2020-10-06 01:10:05 +02:00
2020-10-06 01:10:05 +02:00
2020-10-06 01:10:05 +02:00
2020-10-06 01:10:05 +02:00
2020-04-28 10:47:10 -07:00
2020-05-13 12:19:18 -07:00
2020-04-28 10:47:10 -07:00
2020-10-06 01:10:05 +02:00
2020-04-28 10:47:10 -07:00
2020-10-06 01:10:05 +02:00
2020-10-06 01:10:05 +02:00
2020-10-06 01:10:05 +02:00