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-07-06 22:09:15 -07:00
2020-10-06 01:10:04 +02:00
2020-07-09 14:00:41 -07:00
2020-02-18 15:28:58 -08:00
2020-04-28 10:47:10 -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-07-15 16:29:45 -07:00
2020-04-28 10:47:10 -07:00
2020-10-06 01:10:05 +02:00
2020-06-22 10:31:15 -07:00
2020-10-06 01:10:05 +02:00
2020-06-22 10:46:45 -07:00
2020-04-20 18:22:54 -07:00
2020-07-09 14:00:43 -07:00
2020-10-06 01:10:05 +02:00
2020-06-25 14:19:23 -07: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-05-08 14:25:04 -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-06-19 14:04:08 -07:00
2020-06-24 09:14:21 -07:00
2020-04-28 10:47:10 -07:00
2020-10-06 01:10:04 +02:00
2020-05-05 14:54:27 -07:00
2020-10-06 01:10:04 +02:00
2020-02-11 09:59:39 -08:00
2020-06-02 13:35:01 -07:00
2020-01-31 10:45:39 -08:00
2020-02-05 10:36:33 -08:00
2020-04-28 10:47:10 -07:00
2020-10-06 01:10:05 +02:00
2019-12-09 12:26:40 -08: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-05-05 14:54:28 -07:00
2020-10-06 01:10:04 +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-07-06 22:09:15 -07:00
2020-10-06 01:10:04 +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-02-18 13:21:46 -08:00
2020-05-13 12:19:18 -07:00
2020-02-19 10:56:49 -08:00
2020-04-28 10:47:10 -07:00
2020-04-28 10:47:10 -07:00
2020-10-06 01:10:05 +02:00
2020-05-27 10:07:07 -07:00
2020-04-28 10:47:10 -07:00
2020-06-29 14:17:24 -07:00
2020-10-06 01:10:05 +02:00
2020-10-06 01:10:05 +02:00
2020-05-08 14:25:04 -07:00
2020-01-31 10:45:39 -08:00
2020-04-28 10:47:10 -07:00
2020-10-06 01:10:04 +02:00
2020-10-06 01:10:05 +02:00
2020-10-06 01:10:05 +02:00