0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-03 12:20:26 +01:00
gitea/modules/setting
wxiaoguang 2f149c5c9d
Use [git.config] for reflog cleaning up (#24958)
Follow
https://github.com/go-gitea/gitea/pull/24860#discussion_r1200589651

Use `[git.config]` for reflog cleaning up, the new options are more
flexible.

*
https://git-scm.com/docs/git-config#Documentation/git-config.txt-corelogAllRefUpdates
*
https://git-scm.com/docs/git-config#Documentation/git-config.txt-gcreflogExpire

## ⚠️ BREAKING

The section `[git.reflog]` is now obsolete and its keys have been moved
to the following replacements:
- `[git.reflog].ENABLED` → `[git.config].core.logAllRefUpdates`
- `[git.reflog].EXPIRATION` → `[git.config].gc.reflogExpire`
2023-05-28 01:07:14 +00:00
..
actions.go
admin.go
api.go
asset_dynamic.go
asset_static.go
attachment.go
cache.go
camo.go
config_env_test.go Make environment-to-ini support loading key value from file (#24832) 2023-05-24 11:37:22 +08:00
config_env.go Make environment-to-ini support loading key value from file (#24832) 2023-05-24 11:37:22 +08:00
config_provider_test.go Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
config_provider.go Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
cors.go
cron_test.go
cron.go
database_sqlite.go
database_test.go
database.go Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
federation.go
git_test.go Use [git.config] for reflog cleaning up (#24958) 2023-05-28 01:07:14 +00:00
git.go Use [git.config] for reflog cleaning up (#24958) 2023-05-28 01:07:14 +00:00
highlight.go
i18n.go
incoming_email.go
indexer_test.go
indexer.go Allow skipping forks and mirrors from being indexed (#23187) 2023-05-25 16:13:47 +08:00
lfs.go
log_test.go Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
log.go Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
mailer_test.go
mailer.go
markup.go
metrics.go
migrations.go
mime_type_map.go
mirror.go
oauth2.go
other.go
packages_test.go
packages.go Add CRAN package registry (#22331) 2023-05-22 10:57:49 +08:00
picture.go
project.go
proxy.go
queue.go
repository.go Add the ability to pin Issues (#24406) 2023-05-25 15:17:19 +02:00
security.go
server.go Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
service_test.go Support wildcard in email domain allow/block list (#24831) 2023-05-22 00:05:44 +00:00
service.go Support wildcard in email domain allow/block list (#24831) 2023-05-22 00:05:44 +00:00
session.go
setting_test.go
setting.go Improve RunMode / dev mode (#24886) 2023-05-25 03:47:30 +00:00
ssh.go
storage_test.go
storage.go
task.go
time.go
ui.go
webhook.go