From 0e3e5dd591c9d810ecb5a4d8f7aefdcab3ada9c0 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 25 Mar 2017 16:20:22 +0200 Subject: Don't give long list of filenames to git commit --- distixlib/git.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distixlib/git.py b/distixlib/git.py index 648b374..83f2ffb 100644 --- a/distixlib/git.py +++ b/distixlib/git.py @@ -38,7 +38,7 @@ class Git(object): feed_stdin='\0'.join(filenames)) self._git( - ['commit', '-q', '-m', commit_msg] + filenames, + ['commit', '-q', '-m', commit_msg], cwd=self._dirname) def find_dirt(self): -- cgit v1.2.1