[meld] maint: Don't add spurious spaces to commit messages



commit 499c6122726fb2c7067e5bfcd7f157a9e87d36c7
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Sun May 31 06:29:24 2015 +1000

    maint: Don't add spurious spaces to commit messages

 maint.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/maint.py b/maint.py
index 3a61f25..211f522 100755
--- a/maint.py
+++ b/maint.py
@@ -271,7 +271,8 @@ def commit(message=None):
 
     cmd = ['git', 'commit', '-a']
     if message:
-        cmd.append('-m ' + message)
+        cmd.append('-m')
+        cmd.append(message)
     call_with_output(cmd, timeout=None)
 
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]