Skip to content

Commit d56f8e3

Browse files
authored
Update modules/git/repo_index.go
1 parent 9aa933e commit d56f8e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/git/repo_index.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ func (repo *Repository) ReadTreeToTemporaryIndex(treeish string) (filename, tmpD
6161

6262
tmpDir, err = os.MkdirTemp("", "index")
6363
if err != nil {
64-
return filename, tmpDir, cancel, err
64+
return "", "", cancel, err
6565
}
6666

6767
filename = filepath.Join(tmpDir, ".tmp-index")

0 commit comments

Comments
 (0)