Skip to content

Commit 1bf2171

Browse files
committed
Fixes WIP detection for only untracked files
1 parent 226d3b7 commit 1bf2171

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/webviews/plus/graph/graphWebview.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2683,7 +2683,7 @@ export class GraphWebviewProvider implements WebviewProvider<State, State, Graph
26832683
const svc = this.container.git.getRepositoryService(this.repository.path);
26842684

26852685
hasWorkingChanges ??= await svc.status.hasWorkingChanges(
2686-
{ staged: true, unstaged: true, untracked: false },
2686+
{ staged: true, unstaged: true, untracked: true },
26872687
cancellation,
26882688
);
26892689

@@ -2741,7 +2741,7 @@ export class GraphWebviewProvider implements WebviewProvider<State, State, Graph
27412741
const limit = Math.max(defaultItemLimit, this._graph?.ids.size ?? defaultItemLimit);
27422742

27432743
const hasWorkingChanges = await this.repository.git.status.hasWorkingChanges(
2744-
{ staged: true, unstaged: true, untracked: false },
2744+
{ staged: true, unstaged: true, untracked: true },
27452745
cancellation.token,
27462746
);
27472747

0 commit comments

Comments
 (0)