Skip to content

Commit

Permalink
Merge branch 'release/0.28.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
intitni committed Dec 4, 2023
2 parents b3a73bc + d0e41d2 commit 8613f35
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 12 deletions.
7 changes: 4 additions & 3 deletions Tool/Sources/GitIgnoreCheck/GitIgnoreCheck.swift
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,13 @@ public struct DefaultGitIgnoredChecker: GitIgnoredChecker {
return false
}
do {
_ = try await terminal.runCommand(
let result = try await terminal.runCommand(
"/bin/bash",
arguments: ["-i", "-c", "git check-ignore \"\(fileURL.path)\""],
arguments: ["-c", "git check-ignore \"\(fileURL.path)\""],
currentDirectoryPath: gitFolderURL.path,
environment: [:]
)
if result.isEmpty { return false }
return true
} catch {
return false
Expand All @@ -75,7 +76,7 @@ public struct DefaultGitIgnoredChecker: GitIgnoredChecker {
do {
let result = try await terminal.runCommand(
"/bin/bash",
arguments: ["-i", "-c", "git check-ignore \(filePaths)"],
arguments: ["-c", "git check-ignore \(filePaths)"],
currentDirectoryPath: gitFolderURL.path,
environment: [:]
)
Expand Down
2 changes: 1 addition & 1 deletion Tool/Sources/Preferences/Keys.swift
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ public extension UserDefaultPreferenceKeys {
}

var disableGitIgnoreCheck: FeatureFlag {
.init(defaultValue: true, key: "FeatureFlag-DisableGitIgnoreCheck")
.init(defaultValue: false, key: "FeatureFlag-DisableGitIgnoreCheck")
}

var disableEnhancedWorkspace: FeatureFlag {
Expand Down
4 changes: 2 additions & 2 deletions Version.xcconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
APP_VERSION = 0.28.1
APP_BUILD = 291
APP_VERSION = 0.28.2
APP_BUILD = 292

12 changes: 6 additions & 6 deletions appcast.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
<title>Copilot for Xcode</title>

<item>
<title>0.28.1</title>
<pubDate>Mon, 04 Dec 2023 22:36:27 +0800</pubDate>
<sparkle:version>291</sparkle:version>
<sparkle:shortVersionString>0.28.1</sparkle:shortVersionString>
<title>0.28.2</title>
<pubDate>Mon, 04 Dec 2023 23:11:26 +0800</pubDate>
<sparkle:version>292</sparkle:version>
<sparkle:shortVersionString>0.28.2</sparkle:shortVersionString>
<sparkle:minimumSystemVersion>12.0</sparkle:minimumSystemVersion>
<sparkle:releaseNotesLink>
https://github.com/intitni/CopilotForXcode/releases/tag/0.28.1
https://github.com/intitni/CopilotForXcode/releases/tag/0.28.2
</sparkle:releaseNotesLink>
<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=="/>
<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=="/>
</item>

<item>
Expand Down

0 comments on commit 8613f35

Please sign in to comment.