]> andersk Git - zcommit.git/blobdiff - zcommit.py
Don't reverse the commits we get from Github.
[zcommit.git] / zcommit.py
index b26c685f4b51a4441c5fe46ac16077fa9d7351f6..6c66b50095e31968726af683b2d4607347276376 100755 (executable)
@@ -69,7 +69,7 @@ any of the following optional key/value parameters:
 
 <ul>
 <li> <tt>/instance/$instance</tt> </li>
-<li> <tt>/zsig/$zsig</tt> </li>
+<li> <tt>/zsig/$zsig</tt> (sets the prefix of the zsig; the postfix is always the branch name) </li>
 <li> <tt>/sender/$sender</tt> </li>
 </ul>
 """
@@ -105,7 +105,7 @@ any of the following optional key/value parameters:
                     zsig = '%s: %s' % (opts['zsig'], zsig)
                 sender = opts.get('sender', 'daemon.zcommit')
                 logger.debug('Set zsig')
-                for c in reversed(payload['commits']):
+                for c in payload['commits']:
                     inst = opts.get('instance', c['id'][:8])
                     actions = []
                     if c.get('added'):
This page took 0.026002 seconds and 4 git commands to generate.