Skip to content

Commit

Permalink
Merge pull request #292 from mergestat/fix-commit-order
Browse files Browse the repository at this point in the history
fix: use default git log order, instead of `CommitterTime` by default
  • Loading branch information
patrickdevivo authored Jun 20, 2022
2 parents 4e3d16a + b720862 commit 5b6c920
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/internal/git/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ func (cur *gitLogCursor) Filter(_ int, s string, values ...sqlite.Value) (err er
logger = logger.With().Str("repo-disk-path", path).Logger()
}

var opts = &git.LogOptions{Order: git.LogOrderCommitterTime}
var opts = &git.LogOptions{Order: git.LogOrderDefault}

rev := plumbing.Revision(refName)
cur.rev = &rev
Expand Down

0 comments on commit 5b6c920

Please sign in to comment.