Files
git/builtin
Johannes Schindelin a3586c19e4 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>
2026-06-17 20:12:04 +00:00
..
2026-04-10 07:58:53 -07:00
2026-06-17 20:12:04 +00:00
2026-05-27 14:15:44 +09:00
2026-06-15 07:42:00 -07:00
2026-05-04 10:11:17 +09:00
2026-06-17 05:23:54 -07:00
2026-03-31 20:43:14 -07:00
2026-05-06 09:48:28 +09:00
2026-04-10 07:58:53 -07:00