Files
git/builtin
Johannes Schindelin cb10f230ee 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-04-11 06:39:56 +00:00
..
2026-03-24 12:31:32 -07:00
2026-04-01 10:28:18 -07:00
2026-03-31 20:43:14 -07:00
2026-03-24 12:31:32 -07:00
2026-04-11 06:39:56 +00:00
2026-03-24 12:31:32 -07:00
2026-03-31 20:43:14 -07:00
2026-04-02 13:30:44 -07:00
2026-03-25 12:58:05 -07:00
2026-03-12 14:09:07 -07:00
2026-03-23 09:20:30 -07:00
2026-03-23 08:33:10 -07:00
2026-03-23 08:33:10 -07:00
2026-03-31 20:43:14 -07:00
2026-03-31 20:43:14 -07:00
2026-03-24 12:31:31 -07:00