Files
git/builtin
Johannes Schindelin 5e1db28ee0 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>
2023-02-07 08:51:24 +01:00
..
2022-04-06 09:42:14 -07:00
2022-10-30 21:04:44 -04:00
2023-02-07 08:51:24 +01:00
2023-02-06 09:43:39 +01:00
2022-11-23 11:22:24 +09:00
2022-11-16 14:57:32 -05:00
2022-11-18 18:43:09 -05:00
2022-11-28 12:13:46 +09:00