Skip to content

Commit

Permalink
preformed gofmt of diff scanner
Browse files Browse the repository at this point in the history
  • Loading branch information
tzahij committed Nov 9, 2020
1 parent 96e6a03 commit e54749b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion catalog/db_diff_scanner.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func (s *DiffScanner) diffFromParent(tx db.Tx, params doDiffParams) (*DiffScanne
// If some ancestor branch commit id is the same for parent and child - then the parent does not need to read it
// so it is trimmed from the parent lineage
if len(parentLineage) >= 1 {
for i, _ := range parentLineage {
for i := range parentLineage {
if parentLineage[i].CommitID == childLineage[i+1].CommitID {
parentLineage = parentLineage[:i]
break
Expand Down

0 comments on commit e54749b

Please sign in to comment.