projects
/
mw
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
72fdb64
)
make commit terse as well
author
Joseph Reagle
<joseph.2008@reagle.org>
Thu, 10 Feb 2011 18:26:52 +0000
(13:26 -0500)
committer
Joseph Reagle
<joseph.2008@reagle.org>
Thu, 10 Feb 2011 18:26:52 +0000
(13:26 -0500)
src/mw/clicommands.py
patch
|
blob
|
history
diff --git
a/src/mw/clicommands.py
b/src/mw/clicommands.py
index cc6e6efdf2050739d80a6e427773c4ea9f7cb67c..1d0c46d9f7fca08290ef1ea7b39d2169f5053b98 100644
(file)
--- a/
src/mw/clicommands.py
+++ b/
src/mw/clicommands.py
@@
-320,8
+320,8
@@
class CommitCommand(CommandBase):
files_to_commit = 0 # how many files to process
status = self.metadir.working_dir_status(files=self.args)
for filename in status:
files_to_commit = 0 # how many files to process
status = self.metadir.working_dir_status(files=self.args)
for filename in status:
- print '%s %s' % (status[filename], filename)
if status[filename] in ['M']:
if status[filename] in ['M']:
+ print '%s %s' % (status[filename], filename)
files_to_commit += 1
if not files_to_commit:
print 'nothing to commit'
files_to_commit += 1
if not files_to_commit:
print 'nothing to commit'
Benjamin Mako Hill
||
Want to submit a patch?