diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2017-09-12 11:20:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-12 11:20:29 +0200 |
commit | 8cb0215282c329d299d7d1d195abae4704981ba6 (patch) | |
tree | c499cf7ac25842c818d31c690bedb602940e13db /remote.go | |
parent | 032ec287ec496117dc85cd0e9c9224b2b17f5398 (diff) | |
parent | 841b62a321b3739381b48aeea7364126d1c54520 (diff) | |
download | go-git-8cb0215282c329d299d7d1d195abae4704981ba6.tar.gz |
Merge pull request #586 from keybase/strib/commit-preorder-seen-gh-master
plumbing: the commit walker can skip externally-seen commits
Diffstat (limited to 'remote.go')
-rw-r--r-- | remote.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -615,7 +615,7 @@ func isFastForward(s storer.EncodedObjectStorer, old, new plumbing.Hash) (bool, } found := false - iter := object.NewCommitPreorderIter(c, nil) + iter := object.NewCommitPreorderIter(c, nil, nil) return found, iter.ForEach(func(c *object.Commit) error { if c.Hash != old { return nil |