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
content.go
content_test.go
diff.go
diff_test.go
file.go
file_test.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.go
tree_test.go
update.go Enable more `revive` linter rules (#30608) 2024-04-22 11:48:42 +00:00
upload.go