From: Johannes Berg Date: Sun, 31 Mar 2013 00:46:41 +0000 (+0100) Subject: add -a git commit to catch deleted files in debug X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3149b038c8572bc8b66cb6747befcdbaa7487c2e;p=openwrt%2Fstaging%2Fblogic.git add -a git commit to catch deleted files in debug Signed-off-by: Johannes Berg --- 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]