1 parent a355f06 commit 678a883Copy full SHA for 678a883
1 file changed
tests/unit/test_engraphis_history.py
@@ -35,6 +35,9 @@ def _git(cwd, *args, env=None):
35
import os
36
37
full = dict(os.environ)
38
+ full.pop("GIT_DIR", None)
39
+ full.pop("GIT_WORK_TREE", None)
40
+ full.pop("GIT_INDEX_FILE", None)
41
full.update(GIT_ENV)
42
full.update(env or {})
43
out = subprocess.run(["git", "-C", str(cwd), *args], capture_output=True,
0 commit comments