We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3b76ad commit 6a50bc3Copy full SHA for 6a50bc3
src/env/node/git/sub-providers/commits.ts
@@ -100,7 +100,9 @@ export class CommitsGitSubProvider implements GitCommitsSubProvider {
100
'--',
101
);
102
const commits = [...parser.parse(result.stdout)].sort(
103
- (c1, c2) => Number(c1.committerDate) - Number(c2.committerDate),
+ (c1, c2) =>
104
+ Number(c1.committerDate) - Number(c2.committerDate) ||
105
+ Number(c1.authorDate) - Number(c2.authorDate),
106
107
revs = commits.map(c => c.sha);
108
}
0 commit comments