diff --git a/modules/git/tree_entry_gogit.go b/modules/git/tree_entry_gogit.go index a74ebb38bd..02b68a3713 100644 --- a/modules/git/tree_entry_gogit.go +++ b/modules/git/tree_entry_gogit.go @@ -55,7 +55,7 @@ func (te *TreeEntry) Size() int64 { return te.size } -func (te *TreeEntry) FullPath() bool { +func (te *TreeEntry) FullPath() string { return te.Name() }