mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 02:05:00 +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
|
combined_output = None
|
||||||
try:
|
try:
|
||||||
args = "git " + args
|
args = "git " + args
|
||||||
if 'GIT_EDITOR' not in subprocess.os.environ:
|
env = dict(subprocess.os.environ)
|
||||||
env = dict(GIT_EDITOR="true", **subprocess.os.environ)
|
env["GIT_EDITOR"] = "true"
|
||||||
result = subprocess.run(
|
result = subprocess.run(
|
||||||
args,
|
args,
|
||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.PIPE,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue