You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
zeripath 722a7c902d
Add Close() method to gogitRepository (#8901)
In investigating #7947 it has become clear that the storage component of go-git repositories needs closing.

This PR adds this Close function and adds the Close functions as necessary.

In TransferOwnership the ctx.Repo.GitRepo is closed if it is open to help prevent the risk of multiple open files.

Fixes #7947
5 years ago
..
activity.go Add additional periods to activity page (#8829) 5 years ago
attachment.go Enable Uploading/Removing Attachments When Editing an Issue/Comment (#8426) 5 years ago
blame.go Respect LFS File Lock on UI (#8719) 5 years ago
branch.go [Branch View] Add Included TAG (#8449) 5 years ago
commit.go Fix count for commit graph last page (#8843) 5 years ago
compare.go Add Close() method to gogitRepository (#8901) 5 years ago
download.go Add missed close in ServeBlobLFS (#8527) 5 years ago
editor.go Prevent upload (overwrite) of lfs locked file (#8769) 5 years ago
editor_test.go Add Close() method to gogitRepository (#8901) 5 years ago
http.go Allow Protected Branches to Whitelist Deploy Keys (#8483) 5 years ago
issue.go Move issue milestone assign to issue service and move webhook to notification (#8780) 5 years ago
issue_dependency.go Allow cross-repository dependencies on issues (#7901) 5 years ago
issue_label.go Move issue label operations to issue service package (#8553) 5 years ago
issue_label_test.go fix go vet error (#3740) 6 years ago
issue_lock.go Implement "conversation lock" for issue comments (#5073) 5 years ago
issue_stopwatch.go Automatically clear stopwatch on merging a PR (#4327) 5 years ago
issue_timetrack.go Handle refactor (#3339) 7 years ago
issue_watch.go Trace Logging on Permission Denied & ColorFormat (#6618) 5 years ago
lfs.go Add basic repository lfs management (#7199) 5 years ago
main_test.go Unit tests for wiki routers (#3022) 7 years ago
middlewares.go move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 5 years ago
milestone.go Display ui time with customize time location (#7792) 5 years ago
pull.go Add Close() method to gogitRepository (#8901) 5 years ago
pull_review.go Fix review webhooks (#8570) 5 years ago
release.go Extract actions on deletereleasebyid from models to release service (#8219) 5 years ago
release_test.go Add Close() method to gogitRepository (#8901) 5 years ago
repo.go Template Repositories (#8768) 5 years ago
search.go Unifies pagination template usage (#6531) (#6533) 5 years ago
setting.go Add Close() method to gogitRepository (#8901) 5 years ago
setting_protected_branch.go Allow Protected Branches to Whitelist Deploy Keys (#8483) 5 years ago
settings_test.go Add teams to repo on collaboration page. (#8045) 5 years ago
topic.go Add API endpoint for accessing repo topics (#7963) 5 years ago
view.go Respect LFS File Lock on UI (#8719) 5 years ago
webhook.go Move more webhook codes from models to webhook module (#8802) 5 years ago
wiki.go Add Close() method to gogitRepository (#8901) 5 years ago
wiki_test.go Add Close() method to gogitRepository (#8901) 5 years ago