aboutsummaryrefslogtreecommitdiffstats
path: root/commit.go
diff options
context:
space:
mode:
Diffstat (limited to 'commit.go')
-rw-r--r--commit.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commit.go b/commit.go
index 9e499d2..492a928 100644
--- a/commit.go
+++ b/commit.go
@@ -29,7 +29,7 @@ type Commit struct {
}
func (c *Commit) Tree() *Tree {
- tree, _ := c.r.Tree(c.tree)
+ tree, _ := c.r.Tree(c.tree) // FIXME: Return error as well?
return tree
}