]>
git.wh0rd.org - home.git/blob - .bin/git-format-request-pull
4 echo "Usage: git-request-pull-send-email <commit> [branch]"
19 url
=$
(git config
--get remote.origin.url
)
22 if [[ -z ${commit} ]] ||
[[ -n $3 ]] ; then
26 name
=$
(git config
--get user.name
)
27 email
=$
(git config
--get user.email
)
29 From: ${name} <${email}>
31 Subject: Pull request ${url##*/}
33 $(git request-pull ${commit} ${url} ${branch})
37 --to \"$
(git config
--get sendemail.pullrequest
)\" \
38 --cc \"$
(git config
--get sendemail.to
)\" ...
1>&2