git.samba.org
/
jelmer
/
calypso.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a2f15c
)
Add --allow-empty to git commit command line
author
Keith Packard
<keithp@keithp.com>
Thu, 19 Dec 2013 21:54:56 +0000
(13:54 -0800)
committer
Keith Packard
<keithp@keithp.com>
Fri, 20 Dec 2013 18:55:57 +0000
(10:55 -0800)
This avoids exceptions when the commit doesn't do anything and is
otherwise fine.
Signed-off-by: Keith Packard <keithp@keithp.com>
calypso/webdav.py
patch
|
blob
|
history
diff --git
a/calypso/webdav.py
b/calypso/webdav.py
index eaf3305cfe10dc9724fe285b7b19c6f7b62e8721..6334d014bca419e0acb1c05009c466d980d0e921 100644
(file)
--- a/
calypso/webdav.py
+++ b/
calypso/webdav.py
@@
-317,7
+317,7
@@
class Collection(object):
return True
def git_commit(self, context):
- args = ["git", "commit"]
+ args = ["git", "commit"
, "--allow-empty"
]
env = {}
message = context.get('action', 'other action')