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 78c3be9 commit cec6287Copy full SHA for cec6287
CodeEdit/WorkspaceView.swift
@@ -85,6 +85,9 @@ struct WorkspaceView: View {
85
// MARK: - Source Control
86
87
.task {
88
+ // Only refresh git data if source control is enabled
89
+ guard sourceControlIsEnabled else { return }
90
+
91
do {
92
try await sourceControlManager.refreshRemotes()
93
try await sourceControlManager.refreshStashEntries()
0 commit comments