aboutsummaryrefslogtreecommitdiffstats
path: root/modules/git/repo_tree.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/git/repo_tree.go')
-rw-r--r--modules/git/repo_tree.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/git/repo_tree.go b/modules/git/repo_tree.go
index 9ee80351f0..ab48d47d13 100644
--- a/modules/git/repo_tree.go
+++ b/modules/git/repo_tree.go
@@ -63,5 +63,5 @@ func (repo *Repository) CommitTree(author, committer *Signature, tree *Tree, opt
if err != nil {
return nil, ConcatenateError(err, stderr.String())
}
- return repo.objectFormat.NewIDFromString(strings.TrimSpace(stdout.String()))
+ return NewIDFromString(strings.TrimSpace(stdout.String()))
}