Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-12-01 22:36:10 +01:00
forgejo/services/repository/files
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
..
cherry_pick.go Fix reverting a merge commit failing (#28794) 2024-01-16 15:06:51 +00:00
commit.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
content.go Extract linguist code to method (#29168) 2024-02-16 15:20:52 +01:00
content_test.go Simplify how git repositories are opened (#28937) 2024-01-27 21:09:51 +01:00
diff.go Fix reverting a merge commit failing (#28794) 2024-01-16 15:06:51 +00:00
diff_test.go [BUG] split code conversations in diff tab (#2306) 2024-02-16 12:16:11 +00:00
file.go [GITEA] Allow user to select email for file operations in Web UI 2024-02-05 16:09:41 +01:00
file_test.go Simplify how git repositories are opened (#28937) 2024-01-27 21:09:51 +01:00
patch.go Simplify how git repositories are opened (#28937) 2024-01-27 21:09:51 +01:00
search.go [FEAT] add fallback repo search using git grep 2024-02-20 13:00:34 +00:00
search_test.go [FEAT] add fallback repo search using git grep 2024-02-20 13:00:34 +00:00
temp_repo.go Fix reverting a merge commit failing (#28794) 2024-01-16 15:06:51 +00:00
tree.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
tree_test.go Move web/api context related testing function into a separate package (#26859) 2023-09-01 11:26:07 +00:00
update.go Fix content size does not match error when uploading lfs file (#29259) 2024-02-26 21:42:14 +01:00
upload.go Fix reverting a merge commit failing (#28794) 2024-01-16 15:06:51 +00:00