1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-19 00:24:31 +00:00
gitea/services/repository/files
silverwind 74f0c84fa4
Enable more revive linter rules (#30608)
Noteable additions:

- `redefines-builtin-id` forbid variable names that shadow go builtins
- `empty-lines` remove unnecessary empty lines that `gofumpt` does not
remove for some reason
- `superfluous-else` eliminate more superfluous `else` branches

Rules are also sorted alphabetically and I cleaned up various parts of
`.golangci.yml`.
2024-04-22 11:48:42 +00:00
..
cherry_pick.go Clean up log messages (#30313) 2024-04-07 19:17:06 +08:00
commit.go Cache repository default branch commit status to reduce query on commit status table (#29444) 2024-03-06 12:17:19 +00:00
content_test.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
content.go Add download URL for executable files (#28260) 2024-03-06 16:10:06 +00:00
diff_test.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
diff.go Fix reverting a merge commit failing (#28794) 2024-01-16 15:06:51 +00:00
file_test.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
file.go
patch.go Clean up log messages (#30313) 2024-04-07 19:17:06 +08:00
temp_repo.go Use correct hash for "git update-index" (#30626) 2024-04-22 00:13:44 +00:00
tree_test.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01: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-24 06:55:19 +00:00
update.go Enable more revive linter rules (#30608) 2024-04-22 11:48:42 +00:00
upload.go Fix reverting a merge commit failing (#28794) 2024-01-16 15:06:51 +00:00