Brecht Van Lommel and Earl Warren
33f9fb8150
Fix slow patch checking with commits that add or remove many files ( #31548 )
...
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.
(cherry picked from commit b88e5fc72d99e9d4a0aa9c13f70e0a9e967fe057)
2024-07-07 07:33:01 +02:00
..
2024-06-28 05:17:11 +00:00
2024-06-14 15:22:37 +00:00
2023-08-07 15:00:53 -04:00
2023-08-30 06:55:25 +00:00
2024-06-16 13:42:58 +02:00
2024-05-09 13:49:37 +00:00
2024-05-26 18:43:30 +02:00
2024-07-04 07:03:54 +02:00
2024-04-21 21:26:15 +05:00
2024-04-16 11:49:44 +02:00
2024-02-16 15:20:52 +01:00
2023-06-29 16:29:48 +00:00
2023-10-14 08:37:24 +00:00
2024-05-29 18:31:06 +02:00
2024-02-19 20:49:37 +01:00
2024-07-07 07:33:01 +02:00
2024-05-09 13:49:37 +00:00
2024-03-11 23:36:59 +07:00
2024-03-31 17:07:14 +02:00
2023-01-29 09:49:51 -06:00
2024-03-30 15:23:48 +01:00
2023-10-18 09:44:36 +00:00
2023-08-05 04:34:59 +00:00
2024-02-05 16:02:14 +01:00
2024-05-05 12:15:40 +01:00
2024-06-16 13:42:59 +02:00
2024-05-26 20:13:09 +02:00
2023-07-04 18:36:08 +00:00
2023-04-10 16:44:02 +08:00
2024-06-29 07:56:18 +02:00
2024-05-09 13:49:37 +00:00
2024-07-07 07:29:49 +02:00
2022-11-27 18:20:29 +00:00
2024-06-02 09:42:39 +02:00
2024-02-16 15:20:52 +01:00
2024-04-21 21:26:15 +05:00
2024-05-05 08:38:16 +01:00
2023-04-12 18:16:45 +08:00
2024-06-16 13:42:59 +02:00
2023-04-22 17:56:27 -04:00
2022-11-27 18:20:29 +00:00
2024-07-02 21:39:01 +02:00
2024-05-09 13:49:37 +00:00
2023-02-11 08:39:50 +08:00
2022-11-27 18:20:29 +00:00
2023-12-25 20:13:18 +08:00
2024-06-04 12:38:35 +02:00
2022-11-27 18:20:29 +00:00
2024-06-16 13:42:58 +02:00
2023-07-14 11:00:31 +08:00
2024-06-16 19:06:06 +02:00
2024-02-05 16:09:40 +01:00
2024-04-21 16:28:16 +02:00
2024-06-28 05:17:11 +00:00
2022-12-30 23:31:00 +08:00
2023-11-03 15:21:05 +00:00
2024-06-05 09:10:42 +02:00
2024-06-28 05:17:11 +00:00
2023-08-05 04:34:59 +00:00
2022-11-27 18:20:29 +00:00
2024-06-16 13:42:58 +02:00
2024-06-07 17:12:48 +00:00
2024-06-02 15:24:06 +02:00
2024-05-09 13:49:37 +00:00
2024-03-20 08:46:30 +01:00
2024-03-31 20:17:12 +05:00
2023-02-05 15:29:03 +08:00
2024-05-09 13:49:37 +00:00
2024-02-05 15:38:36 +01:00
2022-11-27 18:20:29 +00:00
2022-11-27 18:20:29 +00:00
2024-06-16 13:42:58 +02:00
2024-05-14 08:31:34 +02:00
2024-06-16 08:21:32 +02:00
2024-06-28 05:17:11 +00:00