Files
git/builtin
Johannes Schindelin e6c13f7b9d 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-02 02:07:36 +00:00
..
2026-03-24 12:31:32 -07:00
2026-04-01 10:28:18 -07:00
2026-02-20 08:13:58 -08:00
2026-03-12 14:09:07 -07:00
2025-07-23 08:15:18 -07:00
2026-03-24 12:31:32 -07:00
2026-04-02 02:07:36 +00:00
2025-07-23 08:15:18 -07:00
2026-03-24 12:31:32 -07:00
2026-02-23 13:23:41 -08:00
2025-07-23 08:15:18 -07:00
2025-07-23 08:15:18 -07:00
2025-07-01 14:46:38 -07:00
2025-08-22 13:13:20 -07:00
2026-03-09 14:36:55 -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-24 12:31:32 -07:00
2026-02-19 13:24:57 -08:00
2025-08-21 13:47:00 -07:00
2025-10-02 12:26:12 -07:00
2025-07-23 08:15:18 -07:00
2026-02-20 08:13:58 -08:00
2025-07-23 08:15:18 -07:00
2026-03-24 12:31:31 -07:00
2025-09-16 11:37:06 -07:00
2025-08-21 13:46:59 -07:00