diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2017-02-13 00:15:19 +0100 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2017-02-13 00:15:19 +0100 |
commit | b18d6490aefe8509791843136530e3426d0c8200 (patch) | |
tree | 64cbc583f64483f667234833a8bf4abc7f5c0084 /plumbing/object/tree.go | |
parent | b3b6e51565dcdbf81546f1d8f0121874a4e4fce9 (diff) | |
download | go-git-b18d6490aefe8509791843136530e3426d0c8200.tar.gz |
plumbing/object: allow TreeIter return SubModule entries
Diffstat (limited to 'plumbing/object/tree.go')
-rw-r--r-- | plumbing/object/tree.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/plumbing/object/tree.go b/plumbing/object/tree.go index 3bcd80a..27d8578 100644 --- a/plumbing/object/tree.go +++ b/plumbing/object/tree.go @@ -375,11 +375,6 @@ func (w *TreeWalker) Next() (name string, entry TreeEntry, err error) { return } - if entry.Mode == SubmoduleMode { - err = nil - continue - } - if entry.Mode.IsDir() { obj, err = GetTree(w.s, entry.Hash) } |