From 3149b038c8572bc8b66cb6747befcdbaa7487c2e Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Sun, 31 Mar 2013 01:46:41 +0100 Subject: [PATCH] add -a git commit to catch deleted files in debug Signed-off-by: Johannes Berg --- lib/git.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/git.py b/lib/git.py index 38411e39993f..50179b5d5a49 100644 --- a/lib/git.py +++ b/lib/git.py @@ -55,7 +55,7 @@ def add(path, tree=None): def commit_all(message, tree=None): add('.', tree=tree) - process = subprocess.Popen(['git', 'commit', '--allow-empty', '-m', message], + process = subprocess.Popen(['git', 'commit', '--allow-empty', '-a', '-m', message], stdout=subprocess.PIPE, stderr=subprocess.STDOUT, close_fds=True, universal_newlines=True, cwd=tree) stdout = process.communicate()[0] -- 2.30.2