Skip to content

Commit 01bae5a

Browse files
authored
Fix currentDirectoryPath, fixes #22 (#23)
* Debug git command * Fix currentDirectoryPath, fixes #22 * remove git debug
1 parent 9e9b6ba commit 01bae5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Version-Control/Base/Core/GitShell.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public struct GitShell {
4444
let process = Process()
4545
process.launchPath = "/usr/bin/env"
4646
process.arguments = ["git"] + args
47-
process.currentDirectoryPath = path.relativePath.escapedWhiteSpaces()
47+
process.currentDirectoryPath = path.relativePath
4848

4949
let stdoutPipe = Pipe()
5050
let stderrPipe = Pipe()

0 commit comments

Comments
 (0)