mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00
fix missing env
This commit is contained in:
parent
d41bf592a0
commit
d48edfcd00
1 changed files with 2 additions and 2 deletions
|
@ -520,8 +520,8 @@ class Commands:
|
|||
combined_output = None
|
||||
try:
|
||||
args = "git " + args
|
||||
if 'GIT_EDITOR' not in subprocess.os.environ:
|
||||
env = dict(GIT_EDITOR="true", **subprocess.os.environ)
|
||||
env = dict(subprocess.os.environ)
|
||||
env["GIT_EDITOR"] = "true"
|
||||
result = subprocess.run(
|
||||
args,
|
||||
stdout=subprocess.PIPE,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue