From 4620f5759cd75cee71d60634f491f666b133b83b Mon Sep 17 00:00:00 2001 From: Mathias Klette Date: Thu, 15 Sep 2011 17:58:40 +0200 Subject: [PATCH] fix: wrong path used when trying to commit --- lib/git_helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/git_helper.py b/lib/git_helper.py index cb92d16..885b490 100644 --- a/lib/git_helper.py +++ b/lib/git_helper.py @@ -218,7 +218,7 @@ def git_commit(message, paths=("-a",)): stderr=subprocess.PIPE, shell=False, env={'':''}, - cwd='/', + cwd=os.getcwd(), close_fds=True ) -- 2.39.5