fix git command with c option

This commit is contained in:
jasquat 2023-10-04 08:37:41 -04:00
parent 87d61bc78d
commit 27c567a16b
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -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