Skip to content

Commit d1fb6b7

Browse files
committed
Ensures proper date ordering for Graph
1 parent f825e14 commit d1fb6b7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/plus/webviews/graph/graphWebview.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,7 @@ export class GraphWebview extends WebviewBase<State> {
379379
const { defaultItemLimit, pageItemLimit } = this.getConfig();
380380
const log = await this.container.git.getLog(this.repository.uri, {
381381
all: true,
382+
ordering: 'date',
382383
limit: defaultItemLimit ?? pageItemLimit,
383384
});
384385
if (log?.commits == null) return undefined;

0 commit comments

Comments
 (0)