aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/revlist/revlist.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2017-08-28 09:44:08 +0200
committerGitHub <noreply@github.com>2017-08-28 09:44:08 +0200
commit96286b0a0a051bd4f55d625c64ca239978908d5d (patch)
tree1fecddbe0c384ab077e5588321362a672f0e9fc4 /plumbing/revlist/revlist.go
parent631a45f55b397090ad7d817a3c72041cfc3729f3 (diff)
parentd68f45f8aaca461167907c07e8c161be14e87157 (diff)
downloadgo-git-96286b0a0a051bd4f55d625c64ca239978908d5d.tar.gz
Merge pull request #564 from strib/tree-walker-use-seen-cache
plumbing: use `seen` map in tree walker
Diffstat (limited to 'plumbing/revlist/revlist.go')
-rw-r--r--plumbing/revlist/revlist.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plumbing/revlist/revlist.go b/plumbing/revlist/revlist.go
index f56cf28..5b2ff99 100644
--- a/plumbing/revlist/revlist.go
+++ b/plumbing/revlist/revlist.go
@@ -137,7 +137,7 @@ func iterateCommitTrees(
cb(tree.Hash)
- treeWalker := object.NewTreeWalker(tree, true)
+ treeWalker := object.NewTreeWalker(tree, true, seen)
for {
_, e, err := treeWalker.Next()