Skip to content

Commit dbf0929

Browse files
committed
Trying to fix test
1 parent 284df2e commit dbf0929

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CodeEdit/Features/Settings/Pages/SourceControlSettings/SourceControlGitView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ private extension SourceControlGitView {
157157
// Fallback to `.gitignore_global` in the home directory
158158
fileURL = FileManager.default.homeDirectoryForCurrentUser.appendingPathComponent(".gitignore_global")
159159
// Set the default path in Git config if not set
160-
await gitConfig.set(key: "core.excludesfile", value: "~/\(fileURL.lastPathComponent)")
160+
await gitConfig.set(key: "core.excludesfile", value: "~/\(fileURL.lastPathComponent)", global: true)
161161
}
162162

163163
// Ensure the file exists

0 commit comments

Comments
 (0)