We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9ab2b1 commit b95db68Copy full SHA for b95db68
modules/git/repo_index.go
@@ -55,6 +55,7 @@ func (repo *Repository) ReadTreeToTemporaryIndex(treeish string) (filename, tmpD
55
// if error happens and there is a cancel function, do the clean up
56
if err != nil && cancel != nil {
57
cancel()
58
+ cancel = nil
59
}
60
}()
61
0 commit comments