Piotr Osiewicz
14bf07c916
worktree: Fix race condition when a root of worktree is .git directory ( #12995 )
...
It was possible to unload a root of worktree when it was a .git
directory; due to that, test_fs_events_in_dot_git_worktree was sometimes
stuck in an infinite loop on CI.
The gist of an issue is that when .git dir is a root dir, then modifying
a file within this directory could sometimes unload the .git dir; the
test went into an infinite loop when the first event in an filesystem
stream was not the event for the file creation, but for a dir
modification. In that case we'd unload the root directory and a
subsequent event for file creation would never be registered, leading to
the test being stuck waiting for it to happen.
This commit alleviates it by special-casing worktrees rooted in .git
directories.
Release Notes:
- Fixed a possible hang when opening a worktree in .git directory.
2024-06-13 19:24:41 +02:00
..
2024-06-08 13:23:59 +03:00
2024-05-30 12:36:07 +02:00
2024-05-29 18:06:45 -07:00
2024-06-13 12:07:26 -04:00
2024-06-05 10:07:43 +02:00
2024-05-12 04:47:19 -07:00
2024-05-29 18:06:45 -07:00
2024-06-04 15:56:18 -07:00
2024-06-05 15:00:23 -06:00
2024-06-11 11:43:12 -07:00
2024-06-11 19:17:07 -06:00
2024-06-11 11:43:12 -07:00
2024-06-13 14:38:34 +02:00
2024-06-13 10:16:10 -07:00
2024-05-16 13:30:04 -04:00
2024-06-13 13:48:12 +02:00
2024-05-21 22:39:16 -06:00
2024-06-07 11:48:23 -06:00
2024-06-13 14:38:34 +02:00
2024-06-13 14:38:34 +02:00
2024-06-07 14:16:21 -04:00
2024-06-13 08:35:22 +02:00
2024-05-29 16:53:45 -06:00
2024-06-13 08:35:22 +02:00
2024-06-12 17:40:53 -07:00
2024-05-29 18:06:45 -07:00
2024-06-03 22:17:10 -06:00
2024-06-12 23:22:52 +03:00
2024-06-12 23:22:52 +03:00
2024-05-10 15:50:20 -06:00
2024-06-13 08:35:22 +02:00
2024-05-10 15:50:20 -06:00
2024-06-13 08:35:22 +02:00
2024-05-06 13:56:25 -04:00
2024-05-23 21:11:14 -06:00
2024-06-12 15:53:05 -04:00
2024-05-22 20:40:31 -04:00
2024-05-29 18:06:45 -07:00
2024-05-03 12:50:42 -07:00
2024-06-12 23:22:52 +03:00
2024-06-11 11:43:12 -07:00
2024-06-13 13:48:12 +02:00
2024-05-10 14:18:40 -04:00
2024-06-13 14:38:34 +02:00
2024-06-11 11:43:12 -07:00
2024-06-13 08:35:22 +02:00
2024-06-13 08:35:22 +02:00
2024-05-25 11:04:22 -04:00
2024-06-12 15:12:36 -04:00
2024-05-30 12:36:07 +02:00
2024-06-13 08:35:22 +02:00
2024-06-13 10:46:51 +03:00
2024-06-12 17:40:53 -07:00
2024-05-25 10:50:53 +03:00
2024-06-13 14:38:34 +02:00
2024-06-13 14:20:38 +02:00
2024-06-13 13:48:12 +02:00
2024-06-11 15:52:38 +02:00
2024-06-10 18:09:47 -06:00
2024-06-11 11:43:12 -07:00
2024-05-23 15:50:59 +02:00
2024-06-10 12:49:53 -06:00
2024-06-13 12:07:26 -04:00
2024-06-13 08:35:22 +02:00
2024-06-07 12:53:01 -07:00
2024-06-07 12:53:01 -07:00
2024-05-20 17:00:27 +02:00
2024-05-02 11:00:08 -06:00
2024-05-09 11:03:33 +02:00
2024-05-29 18:06:45 -07:00
2024-05-21 20:23:37 +02:00
2024-05-17 16:37:17 -04:00
2024-05-13 18:52:12 -04:00
2024-05-14 13:48:36 +02:00
2024-05-29 11:40:43 +02:00
2024-06-03 12:52:44 +02:00
2024-06-11 11:43:12 -07:00
2024-06-05 09:12:05 -06:00
2024-06-07 12:53:01 -07:00
2024-06-13 08:35:22 +02:00
2024-06-11 15:31:55 -04:00
2024-06-11 15:31:55 -04:00
2024-05-16 13:30:04 -04:00
2024-06-12 23:22:52 +03:00
2024-05-26 23:06:58 -06:00
2024-06-07 12:53:01 -07:00
2024-06-04 19:13:21 +02:00
2024-06-13 13:48:12 +02:00
2024-06-11 11:43:12 -07:00
2024-06-11 11:43:12 -07:00
2024-06-13 19:24:41 +02:00
2024-06-13 07:59:28 -06:00