Skip to content

Commit 86d43c6

Browse files
committed
fix: ensure WorkingCopy refreshes after commit
In some cases, WorkingCopy view fails to refresh after commit due to a race condition between FileSystemWatcher, manual refresh calls, and the IsChanged optimization in SetData().
1 parent dab0519 commit 86d43c6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ViewModels/WorkingCopy.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -687,6 +687,7 @@ public async Task CommitAsync(bool autoStage, bool autoPush)
687687
}
688688

689689
_repo.MarkBranchesDirtyManually();
690+
_repo.MarkWorkingCopyDirtyManually();
690691
IsCommitting = false;
691692
}
692693

0 commit comments

Comments
 (0)