Skip to content

Commit 8613f35

Browse files
committed
Merge branch 'release/0.28.2'
2 parents b3a73bc + d0e41d2 commit 8613f35

4 files changed

Lines changed: 13 additions & 12 deletions

File tree

Tool/Sources/GitIgnoreCheck/GitIgnoreCheck.swift

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,13 @@ public struct DefaultGitIgnoredChecker: GitIgnoredChecker {
5252
return false
5353
}
5454
do {
55-
_ = try await terminal.runCommand(
55+
let result = try await terminal.runCommand(
5656
"/bin/bash",
57-
arguments: ["-i", "-c", "git check-ignore \"\(fileURL.path)\""],
57+
arguments: ["-c", "git check-ignore \"\(fileURL.path)\""],
5858
currentDirectoryPath: gitFolderURL.path,
5959
environment: [:]
6060
)
61+
if result.isEmpty { return false }
6162
return true
6263
} catch {
6364
return false
@@ -75,7 +76,7 @@ public struct DefaultGitIgnoredChecker: GitIgnoredChecker {
7576
do {
7677
let result = try await terminal.runCommand(
7778
"/bin/bash",
78-
arguments: ["-i", "-c", "git check-ignore \(filePaths)"],
79+
arguments: ["-c", "git check-ignore \(filePaths)"],
7980
currentDirectoryPath: gitFolderURL.path,
8081
environment: [:]
8182
)

Tool/Sources/Preferences/Keys.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ public extension UserDefaultPreferenceKeys {
548548
}
549549

550550
var disableGitIgnoreCheck: FeatureFlag {
551-
.init(defaultValue: true, key: "FeatureFlag-DisableGitIgnoreCheck")
551+
.init(defaultValue: false, key: "FeatureFlag-DisableGitIgnoreCheck")
552552
}
553553

554554
var disableEnhancedWorkspace: FeatureFlag {

Version.xcconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
APP_VERSION = 0.28.1
2-
APP_BUILD = 291
1+
APP_VERSION = 0.28.2
2+
APP_BUILD = 292
33

appcast.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
<title>Copilot for Xcode</title>
55

66
<item>
7-
<title>0.28.1</title>
8-
<pubDate>Mon, 04 Dec 2023 22:36:27 +0800</pubDate>
9-
<sparkle:version>291</sparkle:version>
10-
<sparkle:shortVersionString>0.28.1</sparkle:shortVersionString>
7+
<title>0.28.2</title>
8+
<pubDate>Mon, 04 Dec 2023 23:11:26 +0800</pubDate>
9+
<sparkle:version>292</sparkle:version>
10+
<sparkle:shortVersionString>0.28.2</sparkle:shortVersionString>
1111
<sparkle:minimumSystemVersion>12.0</sparkle:minimumSystemVersion>
1212
<sparkle:releaseNotesLink>
13-
https://github.com/intitni/CopilotForXcode/releases/tag/0.28.1
13+
https://github.com/intitni/CopilotForXcode/releases/tag/0.28.2
1414
</sparkle:releaseNotesLink>
15-
<enclosure url="https://github.com/intitni/CopilotForXcode/releases/download/0.28.1/Copilot.for.Xcode.app.zip" length="36956617" type="application/octet-stream" sparkle:edSignature="e2ck6UD02QCZXoAlYuvbfUd+YzXJ6d/+V5FdzKKY0C5+X8QdqoUHaUXFmf1keulF7IJD7GAiOVQ2ewrl/KYVCA=="/>
15+
<enclosure url="https://github.com/intitni/CopilotForXcode/releases/download/0.28.2/Copilot.for.Xcode.app.zip" length="36956678" type="application/octet-stream" sparkle:edSignature="kiWm6C0aaxs9cvlSgmH3Y5iVIP5R9hbdgZGXC6qQw8mDG2E8Vc9Rq7ZY8Jz09NDL3GrDXZT3BwoY58Jdev5TAg=="/>
1616
</item>
1717

1818
<item>

0 commit comments

Comments
 (0)