1
0
Fork 0
forgejo/routers/web/repo/setting
Lunny Xiao 6905540088
Use the database object format name but not read from git repoisitory everytime and fix possible migration wrong objectformat when migrating a sha256 repository (#29294)
Now we can get object format name from git command line or from the
database repository table. Assume the column is right, we don't need to
read from git command line every time.

This also fixed a possible bug that the object format is wrong when
migrating a sha256 repository from external.

<img width="658" alt="image"
src="https://github.com/go-gitea/gitea/assets/81045/6e9a9dcf-13bf-4267-928b-6bf2c2560423">

(cherry picked from commit b79c30435f439af8243ee281310258cdf141e27b)

Conflicts:
	routers/web/repo/blame.go
	services/agit/agit.go
	context
2024-02-26 22:30:26 +01:00
..
avatar.go Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
collaboration.go [MODERATION] User blocking 2024-02-05 15:56:45 +01:00
default_branch.go Revert "Fix schedule tasks bugs (#28691)" 2024-02-05 16:54:42 +01:00
deploy_key.go Use db.Find instead of writing methods for every object (#28084) 2023-11-24 03:49:41 +00:00
git_hooks.go Move some files under repo/setting (#25585) 2023-07-02 08:59:32 +08:00
lfs.go Use the database object format name but not read from git repoisitory everytime and fix possible migration wrong objectformat when migrating a sha256 repository (#29294) 2024-02-26 22:30:26 +01:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
protected_branch.go [BUG] Don't overwrite protected branch accidentally 2024-02-25 20:09:18 +01:00
protected_tag.go Even more db.DefaultContext refactor (#27352) 2023-10-03 10:30:41 +00:00
runners.go Fix repo count in org action settings (#27245) 2023-09-29 15:46:07 +00:00
secrets.go Fix repo count in org action settings (#27245) 2023-09-29 15:46:07 +00:00
setting.go Add merge style fast-forward-only (#28954) 2024-02-14 17:19:19 +01:00
settings_test.go [MODERATION] User blocking 2024-02-05 15:56:45 +01:00
variables.go Added instance-level variables (#28115) 2023-12-25 07:28:59 +00:00
webhook.go Change webhook-type in create-view (#29114) 2024-02-17 23:24:30 +01:00