aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/object/tree.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2017-02-13 00:15:19 +0100
committerMáximo Cuadros <mcuadros@gmail.com>2017-02-13 00:15:19 +0100
commitb18d6490aefe8509791843136530e3426d0c8200 (patch)
tree64cbc583f64483f667234833a8bf4abc7f5c0084 /plumbing/object/tree.go
parentb3b6e51565dcdbf81546f1d8f0121874a4e4fce9 (diff)
downloadgo-git-b18d6490aefe8509791843136530e3426d0c8200.tar.gz
plumbing/object: allow TreeIter return SubModule entries
Diffstat (limited to 'plumbing/object/tree.go')
-rw-r--r--plumbing/object/tree.go5
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)
}