Skip to content

Instantly share code, notes, and snippets.

@tomprince
Created April 4, 2011 23:07
Show Gist options
  • Save tomprince/902666 to your computer and use it in GitHub Desktop.
Save tomprince/902666 to your computer and use it in GitHub Desktop.
diff --git a/mailer_and_ciabot b/mailer_and_ciabot
index 9ff240a..a29f227 100755
--- a/mailer_and_ciabot
+++ b/mailer_and_ciabot
@@ -21,10 +21,10 @@ else
echo "X: $oldrev $newrev $ref"
refname=${ref#refs/heads/}
[ "$refname" = "master" ] && refname=
- (echo $oldrev $newrev $ref) | $MAILER
+ (echo $oldrev $newrev $ref) | $MAILER &
for merged in $(git rev-list $newrev ^$oldrev | tac); do
${CIABOT} $merged $refname
- done
+ done &
done
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment