summaryrefslogtreecommitdiffstats
path: root/modules/git/repo_index.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/git/repo_index.go')
-rw-r--r--modules/git/repo_index.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/git/repo_index.go b/modules/git/repo_index.go
index ae68dcaa87..50d82c77d7 100644
--- a/modules/git/repo_index.go
+++ b/modules/git/repo_index.go
@@ -64,7 +64,7 @@ func (repo *Repository) ReadTreeToTemporaryIndex(treeish string) (filename, tmpD
defer cancel()
return "", "", func() {}, err
}
- return
+ return filename, tmpDir, cancel, err
}
// EmptyIndex empties the index