]> andersk Git - zcommit.git/commitdiff
Now do a prettier join for multiple files
authorGreg Brockman <gdb@mit.edu>
Tue, 23 Mar 2010 21:18:16 +0000 (17:18 -0400)
committerGreg Brockman <gdb@mit.edu>
Tue, 23 Mar 2010 21:18:16 +0000 (17:18 -0400)
zcommit.py

index 0c68782e54436b2972b8bb0781b04877b125d83d..e56aedb259d864b1b0c8446910d382e264652005 100755 (executable)
@@ -78,11 +78,11 @@ class Application(object):
                     inst = opts.get('instance', c['id'][:8])
                     actions = []
                     if c.get('added'):
-                        actions.append('Added: %s\n' % ', '.join(c['added']))
+                        actions.append('Added: %s\n' % '\n  '.join(c['added']))
                     if c.get('removed'):
-                        actions.append('Removed: %s\n' % ', '.join(c['removed']))
+                        actions.append('Removed: %s\n' % '\n  '.join(c['removed']))
                     if c.get('modified'):
-                        actions.append('Modified: %s\n' % ', '.join(c['modified']))
+                        actions.append('Modified: %s\n' % '\n  '.join(c['modified']))
                     if not actions:
                         actions.append('Something weird happened... could not figure out what action to take')
                     info = {'name' : c['author']['name'],
This page took 0.052923 seconds and 5 git commands to generate.