Created
December 15, 2010 15:04
-
-
Save djui/742044 to your computer and use it in GitHub Desktop.
Formats the last commit and sends emails to all members in the pull request group using standard sendmail. I wrote this because the builtin 'git send-email' does only allow to send a patch file which I think is killer in a small team development.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[pull-request] | |
group = [email protected] [email protected] | |
[alias] | |
pull-request = "!branch=$(git name-rev --name-only HEAD) ; echo \"git pull $(git remote) $branch\n\n $(git log -1 HEAD --stat)\" | mail -s \"Pull request: $branch\" $(git config pull-request.group)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment