diff options
Diffstat (limited to 'modules/git/tree.go')
-rw-r--r-- | modules/git/tree.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/git/tree.go b/modules/git/tree.go index 6ca893cb7b..58c4d8cad1 100644 --- a/modules/git/tree.go +++ b/modules/git/tree.go @@ -63,7 +63,7 @@ func (t *Tree) SubTree(rpath string) (*Tree, error) { } func (t *Tree) loadTreeObject() error { - gogitTree, err := t.repo.gogitRepo.TreeObject(plumbing.Hash(t.ID)) + gogitTree, err := t.repo.gogitRepo.TreeObject(t.ID) if err != nil { return err } |