Browse Source

Ensures proper date ordering for Graph

main
Eric Amodio 2 years ago
parent
commit
d1fb6b703c
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/plus/webviews/graph/graphWebview.ts

+ 1
- 0
src/plus/webviews/graph/graphWebview.ts View File

@ -379,6 +379,7 @@ export class GraphWebview extends WebviewBase {
const { defaultItemLimit, pageItemLimit } = this.getConfig();
const log = await this.container.git.getLog(this.repository.uri, {
all: true,
ordering: 'date',
limit: defaultItemLimit ?? pageItemLimit,
});
if (log?.commits == null) return undefined;

Loading…
Cancel
Save