Giteabot
6486c8b7b3
Fix slow patch checking with commits that add or remove many files ( #31548 ) ( #31560 )
...
Backport #31548 by @brechtvl
Running git update-index for every individual file is slow, so add and
remove everything with a single git command.
When such a big commit lands in the default branch, it could cause PR
creation and patch checking for all open PRs to be slow, or time out
entirely. For example, a commit that removes 1383 files was measured to
take more than 60 seconds and timed out. With this change checking took
about a second.
This is related to #27967 , though this will not help with commits that
change many lines in few files.
Co-authored-by: Brecht Van Lommel <brecht@blender.org>
2024-07-05 11:24:01 +02:00
..
2024-03-22 19:17:30 +08:00
2023-10-24 02:54:59 +00:00
2023-08-07 15:00:53 -04:00
2023-08-30 06:55:25 +00:00
2024-04-22 11:48:42 +00:00
2024-02-25 13:32:13 +00:00
2024-02-27 18:56:18 +01:00
2024-06-17 07:41:47 +00:00
2024-05-27 14:23:47 +00:00
2024-04-02 17:48:27 +00:00
2024-04-09 20:27:30 +08:00
2024-04-02 17:48:27 +00:00
2024-04-03 02:16:46 +00:00
2023-06-29 16:29:48 +00:00
2023-10-14 08:37:24 +00:00
2024-02-16 15:18:30 +00:00
2024-07-05 11:24:01 +02:00
2023-09-29 12:12:54 +00:00
2024-03-08 15:30:10 +08:00
2024-03-18 21:14:51 +00:00
2023-12-17 14:38:54 +00:00
2023-10-18 09:44:36 +00:00
2023-08-05 04:34:59 +00:00
2024-01-29 16:18:40 +00:00
2024-06-15 03:44:44 +00:00
2024-06-17 10:23:15 +00:00
2024-05-24 11:01:09 +08:00
2023-07-04 18:36:08 +00:00
2023-04-10 16:44:02 +08:00
2024-06-12 02:34:37 +03:00
2024-04-27 12:23:37 +00:00
2024-06-22 00:03:31 +03:00
2023-09-14 17:09:32 +00:00
2024-02-14 21:48:45 +00:00
2023-07-09 11:58:06 +00:00
2024-04-13 17:32:15 +00:00
2023-04-12 18:16:45 +08:00
2024-04-22 11:48:42 +00:00
2023-04-22 17:56:27 -04:00
2024-05-08 14:17:18 +00:00
2024-04-27 08:03:49 +00:00
2023-02-11 08:39:50 +08:00
2023-12-25 20:13:18 +08:00
2024-04-22 23:55:43 +00:00
2024-05-02 09:48:24 +08:00
2023-07-14 11:00:31 +08:00
2024-06-12 15:59:54 +00:00
2024-02-25 13:32:13 +00:00
2024-04-25 11:22:32 +00:00
2024-06-29 15:54:15 +00:00
2023-11-03 15:21:05 +00:00
2023-09-13 01:18:52 +00:00
2024-06-20 01:27:13 +00:00
2024-03-22 12:16:23 +00:00
2023-10-15 17:46:06 +02:00
2024-06-19 11:23:24 +08:00
2024-06-10 12:04:49 +08:00
2023-07-04 18:36:08 +00:00
2024-04-03 02:16:46 +00:00
2024-04-02 17:48:27 +00:00
2023-02-05 15:29:03 +08:00
2023-08-15 10:31:25 +08:00
2023-10-15 17:46:06 +02:00
2024-05-20 06:17:21 +00:00
2023-08-30 10:46:49 -05:00
2024-06-11 05:57:51 +00:00
2024-01-12 21:50:38 +00:00