mirror of
https://github.com/status-im/spiff-arena.git
synced 2025-01-26 17:59:04 +00:00
fix git command with c option
This commit is contained in:
parent
d7d3858a7a
commit
22570ce8d3
@ -160,7 +160,7 @@ class GitService:
|
||||
command_to_run = command
|
||||
if prepend_with_git:
|
||||
if context_directory is not None:
|
||||
command_to_run = ["-c", context_directory] + command_to_run
|
||||
command_to_run = ["-C", context_directory] + command_to_run
|
||||
command_to_run = ["git"] + command_to_run
|
||||
|
||||
# this is fine since we pass the commands directly
|
||||
|
Loading…
x
Reference in New Issue
Block a user