Skip to content

Add Close() method to gogitRepository #8901

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

Merged
merged 14 commits into from
Nov 13, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'master' into fix-7947
  • Loading branch information
zeripath authored Nov 13, 2019
commit 623a2e1b0cab823d6007f76eaab5ae10118313bd
2 changes: 1 addition & 1 deletion modules/notification/webhook/webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ func (m *webhookNotifier) NotifyCreateRef(pusher *models.User, repo *models.Repo
shaSum, err := gitRepo.GetRefCommitID(refFullName)
if err != nil {
gitRepo.Close()
log.Error("GetBranchCommitID[%s]: %v", refFullName, err)
log.Error("GetRefCommitID[%s]: %v", refFullName, err)
return
}
gitRepo.Close()
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.