aboutsummaryrefslogtreecommitdiffstats
path: root/remote.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2017-06-14 09:55:51 +0200
committerGitHub <noreply@github.com>2017-06-14 09:55:51 +0200
commitbf3a92052f715c507ace0cb9f2b7fb358f623abc (patch)
treecabc0e04d11a4b9c16181597fbaf8f0125440ef3 /remote.go
parente6ee8061c63e874f0bdbf719050524367c838428 (diff)
parente3b3ebda4dfa7570df9bff6bf70c2c37a7d76c7e (diff)
downloadgo-git-bf3a92052f715c507ace0cb9f2b7fb358f623abc.tar.gz
Merge pull request #421 from smola/iter-naming
fix naming of NewCommit{Pre,Post}Iterator
Diffstat (limited to 'remote.go')
-rw-r--r--remote.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/remote.go b/remote.go
index bcc844c..deb8d7f 100644
--- a/remote.go
+++ b/remote.go
@@ -422,7 +422,7 @@ func isFastForward(s storer.EncodedObjectStorer, old, new plumbing.Hash) (bool,
}
found := false
- iter := object.NewCommitPreIterator(c)
+ iter := object.NewCommitPreorderIter(c)
return found, iter.ForEach(func(c *object.Commit) error {
if c.Hash != old {
return nil