diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2016-08-30 15:29:31 +0200 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2016-08-30 15:29:31 +0200 |
commit | 60636dd029a1e356bab8698b798504302fe645cb (patch) | |
tree | 49cfa335c09bb727d1954132075960562951a2aa /tree.go | |
parent | 2c527d02ceac3879f82ab53645b6c7c03c0e5d71 (diff) | |
download | go-git-60636dd029a1e356bab8698b798504302fe645cb.tar.gz |
DiffTree based on TreeWalker
Diffstat (limited to 'tree.go')
-rw-r--r-- | tree.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -62,7 +62,7 @@ func (t *Tree) File(path string) (*File, error) { blob := &Blob{} blob.Decode(obj) - return newFile(path, e.Mode, blob), nil + return NewFile(path, e.Mode, blob), nil } func (t *Tree) findEntry(path string) (*TreeEntry, error) { |