Refrain from committing outstanding changes.
authorRobert Lehmann <mail@robertlehmann.de>
Sun, 21 Nov 2010 19:01:24 +0000 (20:01 +0100)
committerRobert Lehmann <mail@robertlehmann.de>
Sun, 21 Nov 2010 19:01:24 +0000 (20:01 +0100)
This makes be-commit act more like git-commit.

libbe/storage/vcs/git.py

index a442c30f4de54a791ecd835257d75a9068fb7887..c9f10fe1a962feacb7ff2008d47ac465de3e5441 100644 (file)
@@ -143,7 +143,7 @@ class Git(base.VCS):
         return output.rstrip('\n').splitlines()
 
     def _vcs_commit(self, commitfile, allow_empty=False):
-        args = ['commit', '--all', '--file', commitfile]
+        args = ['commit', '--file', commitfile]
         if allow_empty == True:
             args.append('--allow-empty')
             status,output,error = self._u_invoke_client(*args)