From b7208627ec894529f0e26b5e8d2653f3899f4a3b Mon Sep 17 00:00:00 2001 From: Patrick DeVivo Date: Mon, 20 Jun 2022 17:55:53 -0400 Subject: [PATCH] fix: use default git log order, instead of `CommitterTime` by default --- extensions/internal/git/log.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/internal/git/log.go b/extensions/internal/git/log.go index 5ffcdbe6..7d658491 100644 --- a/extensions/internal/git/log.go +++ b/extensions/internal/git/log.go @@ -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