From 907176fad02cd10d89dbb39390f083ae243d9d66 Mon Sep 17 00:00:00 2001 From: william-allspice Date: Fri, 23 Aug 2024 10:09:26 -0500 Subject: [PATCH] User Name method not property --- modules/git/tree_entry.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/git/tree_entry.go b/modules/git/tree_entry.go index 327b7f39f6..1c11d04e1b 100644 --- a/modules/git/tree_entry.go +++ b/modules/git/tree_entry.go @@ -186,13 +186,13 @@ func (te *TreeEntry) GetPathInRepo() string { return "" } - path := te.name + path := te.Name() current := te.ptree for current != nil && current.ptree != nil { for _, entry := range current.ptree.entries { if entry.ID == current.ID { - path = entry.name + "/" + path + path = entry.Name() + "/" + path break } }