Skip to content
Snippets Groups Projects
Commit a31aabc8 authored by Nick Thomas's avatar Nick Thomas
Browse files

fixup! SHA ranges are x..y - add tests and emulate this with go-git

parent e0206373
No related branches found
No related tags found
1 merge request!1Initial implementation of an elasticsearch indexer in Go
Pipeline #
Loading
Loading
@@ -155,8 +155,7 @@ func (r *goGitRepository) EachFileChange(ins, mod, del FileFunc) error {
func (r *goGitRepository) EachCommit(f CommitFunc) error {
err := object.WalkCommitHistoryPost(r.ToCommit, func(c *object.Commit) error {
if r.FromCommit != nil && c.ID() == r.FromCommit.ID() {
return endError
}
return endError
}
 
commit := &Commit{
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment