Giteabot and silverwind
c26daf578f
fix(git): leave reflog expiry to git's defaults ( #39703 ) ( #39711 )
...
Backport #39703 by @silverwind
Gitea's default `gc.reflogExpire = 90` is parsed by git as
`1990-<month>-<day>`, currently `1990-10-09`, so reachable reflog
entries never expired.
Since git 2.54, auto maintenance runs its reflog-expire task in the
foreground of every push, and its trigger ignores reachability, so busy
repos rerun `git reflog expire --all` on every push without pruning
anything, stalling large repos for over a minute.
- Stop setting `gc.reflogExpire` so git's own defaults apply, and remove
the `90` written by earlier versions
- Treat the legacy `[git.reflog] EXPIRATION` as days, as documented
The next push to each repo prunes the accumulated entries once.
Fixes: https://github.com/go-gitea/gitea/issues/39693
Co-authored-by: silverwind <me@silverwind.io >
2026-10-10 00:36:00 -07:00
..
2026-10-01 19:44:48 +00:00
2026-08-22 08:59:37 +00:00
2026-10-01 10:19:33 +00:00
2026-07-23 17:42:55 +00:00
2023-02-04 10:30:43 +08:00
2026-08-26 17:24:07 +02:00
2026-07-28 17:04:22 +00:00
2026-07-19 07:32:00 +00:00
2026-09-02 19:32:33 +00:00
2026-08-11 16:33:15 +00:00
2026-08-11 16:33:15 +00:00
2026-09-19 12:41:41 +00:00
2026-09-19 12:41:41 +00:00
2026-09-19 12:41:41 +00:00
2026-07-17 18:44:31 +08:00
2026-07-28 17:04:22 +00:00
2026-08-07 02:44:55 +00:00
2026-08-07 02:44:55 +00:00
2026-07-28 17:04:22 +00:00
2026-07-28 17:04:22 +00:00
2026-07-21 12:18:00 +00:00
2026-07-28 17:04:22 +00:00
2026-07-23 01:22:26 +00:00
2026-07-23 01:22:26 +00:00
2026-07-23 01:22:26 +00:00
2025-05-09 16:17:08 +00:00
2026-07-20 16:07:38 +00:00
2026-07-20 16:07:38 +00:00
2026-09-29 11:56:51 +00:00
2026-08-05 00:17:07 +08:00
2026-07-20 16:07:38 +00:00
2026-07-20 16:07:38 +00:00
2026-08-09 10:25:06 +00:00
2026-08-05 00:17:07 +08:00
2026-07-28 19:12:53 +08:00
2026-08-05 00:17:07 +08:00
2026-08-05 00:17:07 +08:00
2026-09-06 11:27:04 +02:00
2026-09-06 11:27:04 +02:00
2026-07-15 17:30:01 +00:00
2026-07-28 17:04:22 +00:00
2026-10-04 14:00:15 +00:00
2026-10-04 14:00:15 +00:00
2026-07-17 18:44:31 +08:00
2026-09-19 12:41:41 +00:00
2026-09-19 13:04:53 +00:00
2026-07-20 16:07:38 +00:00
2026-07-20 16:07:38 +00:00
2026-07-20 16:07:38 +00:00
2024-11-20 19:26:12 +00:00
2024-11-20 19:26:12 +00:00
2026-10-10 00:36:00 -07:00
2026-10-10 00:36:00 -07:00
2025-06-18 01:48:09 +00:00
2026-09-12 11:56:25 +00:00
2026-09-15 10:59:34 +02:00
2026-09-23 14:34:19 +00:00
2026-07-23 01:22:26 +00:00
2026-07-20 16:07:38 +00:00
2026-07-20 16:07:38 +00:00
2026-08-26 18:35:44 +00:00
2026-07-28 17:04:22 +00:00
2026-08-25 12:02:31 +00:00
2026-08-29 19:54:07 +00:00
2026-09-24 09:46:24 +00:00
2026-09-24 09:46:24 +00:00
2026-07-23 14:31:29 +00:00
2026-08-21 07:52:23 +00:00
2026-08-21 07:52:23 +00:00
2026-08-25 12:02:31 +00:00
2026-08-05 00:17:07 +08:00
2026-08-05 00:17:07 +08:00
2026-08-05 00:17:07 +08:00
2026-07-23 17:42:55 +00:00
2026-07-20 18:03:28 +00:00
2026-07-23 01:22:26 +00:00
2026-07-20 16:07:38 +00:00
2026-07-20 16:07:38 +00:00
2026-07-20 16:07:38 +00:00
2026-09-29 11:56:51 +00:00
2026-08-05 00:17:07 +08:00
2026-09-19 12:41:41 +00:00
2024-01-19 17:05:02 +01:00
2026-09-19 12:41:41 +00:00
2026-09-19 12:41:41 +00:00
2026-04-14 12:03:26 +00:00
2026-05-13 09:00:41 +02:00
2026-05-26 15:49:31 -07:00
2026-07-23 01:22:26 +00:00
2026-09-29 20:31:50 +02:00
2026-08-28 14:17:01 -07:00
2026-09-19 12:41:41 +00:00
2026-09-15 10:59:34 +02:00
2026-09-15 10:59:34 +02:00
2026-10-03 02:44:06 +00:00
2026-07-28 17:04:22 +00:00
2026-07-20 16:07:38 +00:00
2026-07-28 17:04:22 +00:00
2025-12-25 19:26:23 -08:00
2026-07-17 18:44:31 +08:00
2026-07-28 17:04:22 +00:00
2026-10-03 02:44:06 +00:00
2026-07-20 16:07:38 +00:00
2026-09-19 12:41:41 +00:00
2026-09-19 13:04:53 +00:00
2026-09-26 17:38:42 +00:00
2026-09-26 17:38:42 +00:00
2026-07-23 01:22:26 +00:00
2026-08-25 12:02:31 +00:00
2026-07-28 17:04:22 +00:00
2026-07-23 17:42:55 +00:00
2026-09-19 13:04:53 +00:00
2026-09-19 13:04:53 +00:00
2026-07-20 18:03:28 +00:00
2026-07-20 16:07:38 +00:00
2026-07-28 17:04:22 +00:00
2026-07-20 16:07:38 +00:00
2026-07-28 17:04:22 +00:00
2026-07-20 16:07:38 +00:00
2026-07-17 18:44:31 +08:00
2026-09-19 13:04:53 +00:00
2026-08-22 08:59:37 +00:00
2026-09-19 13:04:53 +00:00
2026-09-29 14:43:36 +02:00
2026-07-20 16:07:38 +00:00
2026-07-28 17:04:22 +00:00
2026-07-20 16:07:38 +00:00
2026-09-29 14:43:36 +02:00
2024-02-09 11:02:53 +08:00
2026-09-23 14:34:19 +00:00
2025-03-31 01:53:48 -04:00
2026-05-26 15:49:31 -07:00
2026-07-23 01:22:26 +00:00
2026-07-21 12:18:00 +00:00
2026-07-23 01:22:26 +00:00
2026-05-07 16:19:45 +02:00
2026-08-22 08:59:37 +00:00
2026-07-15 17:30:01 +00:00
2026-07-15 17:30:01 +00:00
2026-07-15 17:30:01 +00:00
2026-07-28 17:04:22 +00:00
2026-05-13 09:00:41 +02:00
2026-07-15 17:30:01 +00:00
2026-04-14 12:03:26 +00:00
2026-07-28 17:04:22 +00:00
2026-04-14 12:03:26 +00:00
2026-07-17 18:44:31 +08:00
2026-07-15 17:30:01 +00:00
2026-07-28 17:04:22 +00:00
2026-07-28 17:04:22 +00:00
2026-07-20 16:07:38 +00:00
2025-07-30 07:08:59 +00:00
2026-08-25 12:02:31 +00:00