Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Close() method to gogitRepository (#8901) #8956

Merged
merged 1 commit into from
Nov 13, 2019

Commits on Nov 13, 2019

  1. Add Close() method to gogitRepository (go-gitea#8901)

    In investigating go-gitea#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 go-gitea#7947
    zeripath committed Nov 13, 2019
    Configuration menu
    Copy the full SHA
    5d8ebb1 View commit details
    Browse the repository at this point in the history