projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6394dbd
)
add -a git commit to catch deleted files in debug
author
Johannes Berg
<johannes@sipsolutions.net>
Sun, 31 Mar 2013 00:46:41 +0000
(
01:46
+0100)
committer
Johannes Berg
<johannes@sipsolutions.net>
Sun, 31 Mar 2013 00:46:41 +0000
(
01:46
+0100)
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
lib/git.py
patch
|
blob
|
history
diff --git
a/lib/git.py
b/lib/git.py
index 38411e39993f8f094c84acd3119b7ef58c73eb26..50179b5d5a493d420a9b148b689d39557df4e19e 100644
(file)
--- 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]