aboutsummaryrefslogtreecommitdiffstats
path: root/commit.go
diff options
context:
space:
mode:
authorJoshua Sjoding <joshua.sjoding@scjalliance.com>2016-02-19 15:42:00 -0800
committerJoshua Sjoding <joshua.sjoding@scjalliance.com>2016-02-19 15:42:00 -0800
commit916755f7652d4a3189aa717c7f2668c9aa0b1373 (patch)
treeb32c906cef4779c9cec73749400e1a48eff10bf5 /commit.go
parent5e100bdb6c60e961730af19ab1691a0d3605de12 (diff)
downloadgo-git-916755f7652d4a3189aa717c7f2668c9aa0b1373.tar.gz
Improved support for Blob objects
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
}