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-01-16 08:13:07 +01:00
2023-02-04 10:30:43 +08:00
2024-04-28 15:39:00 +02:00
2024-07-02 21:39:01 +02:00
2024-03-28 10:52:51 +01:00
2022-11-27 18:20:29 +00:00
2024-04-28 15:39:00 +02:00
2024-03-20 08:46:28 +01:00
2024-03-20 08:46:28 +01:00
2024-02-26 22:30:27 +01:00
2023-12-13 21:02:00 +00:00
2024-02-26 22:30:26 +01:00
2022-11-27 18:20:29 +00:00
2023-06-13 09:02:25 +00:00
2022-11-27 18:20:29 +00:00
2023-04-13 19:17:27 -04:00
2024-03-28 05:16:51 +00:00
2024-04-07 15:40:31 +02:00
2023-12-13 21:02:00 +00:00
2024-05-05 08:38:16 +01:00
2022-11-27 18:20:29 +00:00
2022-11-27 18:20:29 +00:00
2024-04-28 15:39:00 +02:00
2024-03-20 08:46:28 +01:00
2024-04-07 15:40:31 +02:00
2024-04-21 16:28:16 +02:00
2024-04-12 13:36:31 +02:00
2022-11-27 18:20:29 +00:00
2024-02-14 17:19:19 +01:00
2023-05-23 16:30:19 +00:00
2024-06-16 13:42:58 +02:00
2024-05-20 13:48:50 +00:00
2024-05-20 13:48:50 +00:00
2022-11-27 18:20:29 +00:00
2023-12-13 21:02:00 +00:00
2022-11-27 18:20:29 +00:00
2024-02-05 16:09:40 +01:00
2024-02-15 16:19:36 +01:00
2023-12-13 21:02:00 +00:00
2022-11-27 18:20:29 +00: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-01-19 17:05:02 +01:00
2024-05-15 16:43:16 +02:00
2024-05-25 09:43:50 +02:00
2024-03-26 08:09:36 +00:00
2024-05-05 08:38:16 +01:00
2024-05-05 08:38:16 +01:00
2024-05-05 08:38:16 +01:00
2024-05-05 08:38:16 +01:00
2019-03-27 17:33:00 +08:00
2023-05-26 01:04:48 +00:00
2024-05-09 13:49:37 +00:00
2022-11-27 18:20:29 +00:00
2024-01-19 05:49:18 +00:00
2024-04-11 17:16:26 +02:00
2024-05-09 13:49:37 +00:00
2024-02-26 22:30:27 +01:00
2024-03-20 08:46:28 +01:00
2024-01-27 21:09:51 +01:00
2023-07-12 19:07:29 +02:00
2023-12-13 21:02:00 +00:00
2023-12-13 21:02:00 +00:00
2023-12-19 07:20:47 +00:00
2023-12-19 07:20:47 +00:00
2024-01-27 21:09:51 +01:00
2024-01-27 21:09:51 +01:00
2022-11-27 18:20:29 +00:00
2024-03-11 23:36:59 +07:00
2024-03-20 08:46:28 +01:00
2024-03-20 08:46:28 +01:00
2023-04-22 17:56:27 -04:00
2024-04-28 15:39:00 +02:00
2024-01-23 05:40:00 +00:00
2022-11-27 18:20:29 +00:00
2024-03-20 08:46:28 +01:00
2024-03-20 08:46:28 +01:00
2023-12-13 21:02:00 +00:00
2022-11-27 18:20:29 +00:00
2024-07-07 07:33:01 +02:00
2024-02-26 14:18:33 +01:00
2024-03-28 10:52:51 +01:00
2023-05-24 19:37:36 +00:00
2024-02-26 12:52:59 +01:00
2023-12-19 07:20:47 +00:00
2023-12-13 21:02:00 +00:00
2023-12-19 07:20:47 +00:00
2023-03-02 13:32:21 +08:00
2024-06-30 06:17:40 +02:00
2023-03-02 13:32:21 +08:00
2024-03-26 19:04:26 +01:00
2023-12-19 07:20:47 +00:00
2024-02-26 22:30:25 +01:00
2024-03-26 08:09:36 +00:00
2024-03-26 08:09:36 +00:00
2023-05-04 05:08:41 +00:00
2024-03-20 08:46:28 +01:00
2024-03-20 08:46:28 +01:00
2023-12-19 07:20:47 +00:00
2024-05-12 20:03:10 +02:00
2024-02-10 10:53:43 +01:00
2024-02-10 10:53:43 +01:00
2024-02-10 10:53:43 +01:00
2024-02-10 10:53:43 +01:00
2022-11-27 18:20:29 +00:00
2024-04-28 15:39:00 +02:00
2024-03-26 08:09:36 +00:00
2024-04-08 12:51:27 +02:00
2023-12-13 21:02:00 +00:00
2022-11-27 18:20:29 +00:00
2024-02-05 16:09:42 +01:00
2023-12-13 21:02:00 +00:00
2022-11-27 18:20:29 +00:00
2023-12-13 21:02:00 +00:00
2022-11-27 18:20:29 +00:00
2024-03-02 17:58:09 +01:00
2023-12-13 21:02:00 +00:00
2024-05-05 08:38:16 +01:00
2024-02-26 22:30:25 +01:00
2023-12-13 21:02:00 +00:00
2024-05-26 18:43:30 +02:00
2024-05-26 18:43:30 +02:00