summaryrefslogtreecommitdiffstats
path: root/modules/git/tree_blob_nogogit.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/git/tree_blob_nogogit.go')
-rw-r--r--modules/git/tree_blob_nogogit.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/git/tree_blob_nogogit.go b/modules/git/tree_blob_nogogit.go
index 6da0ccfe8e..fdd8d79c8b 100644
--- a/modules/git/tree_blob_nogogit.go
+++ b/modules/git/tree_blob_nogogit.go
@@ -15,6 +15,7 @@ import (
func (t *Tree) GetTreeEntryByPath(relpath string) (*TreeEntry, error) {
if len(relpath) == 0 {
return &TreeEntry{
+ ptree: t,
ID: t.ID,
name: "",
fullName: "",