forgejo/services/repository
John Olheiser 1ee1147baa
fix: don't replace err variable in nested check (#22416)
We can use `:=` to make `err` local to the if-scope instead of
overwriting the `err` in outer scope.

Signed-off-by: jolheiser <john.olheiser@gmail.com>
2023-01-12 14:57:12 -06:00
..
archiver
files Use context parameter in models/git (#22367) 2023-01-09 11:50:54 +08:00
adopt.go
adopt_test.go
avatar.go
avatar_test.go
branch.go Use context parameter in models/git (#22367) 2023-01-09 11:50:54 +08:00
cache.go
check.go fix: don't replace err variable in nested check (#22416) 2023-01-12 14:57:12 -06:00
fork.go
fork_test.go
hooks.go
lfs.go Use context parameter in models/git (#22367) 2023-01-09 11:50:54 +08:00
main_test.go
push.go Use context parameter in models/git (#22367) 2023-01-09 11:50:54 +08:00
repository.go
repository_test.go
review.go
review_test.go
template.go
transfer.go
transfer_test.go