]> andersk Git - zcommit.git/commitdiff
Better formatting for zcommit messages
authorGreg Brockman <gdb@mit.edu>
Tue, 23 Mar 2010 21:01:47 +0000 (17:01 -0400)
committerGreg Brockman <gdb@mit.edu>
Tue, 23 Mar 2010 21:01:47 +0000 (17:01 -0400)
zcommit.py

index 14fa1b87a2e7ff22653127907db6aa4ec53a0b90..0c68782e54436b2972b8bb0781b04877b125d83d 100755 (executable)
@@ -91,9 +91,8 @@ class Application(object):
                             'timestamp' : c['timestamp'],
                             'actions' : '--\n'.join(actions)}
                     
-                    msg = """%(name)s <%(email)s>
-%(message)s
-%(timestamp)s
+                    msg = """%(name)s <%(email)s> (%(timestamp)s)
+> %(message)s
 --
 %(actions)s""" % info
                     zephyr(sender, opts['class'], inst, zsig, msg)
This page took 0.254495 seconds and 5 git commands to generate.