X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=topgit.git;a=blobdiff_plain;f=tg-create.sh;h=d196e4f5fa56bbba8de8034a9c5366c478879f49;hp=0db1cf376bdde093396a96cfd8df0eec8a96fd00;hb=785797fab53ce1f735eaa516e3775ac2e7ec5bfe;hpb=ab712f2ed92a6e451bf2d482b03d2559697bf100 diff --git a/tg-create.sh b/tg-create.sh index 0db1cf3..d196e4f 100644 --- a/tg-create.sh +++ b/tg-create.sh @@ -104,6 +104,9 @@ author="$(git var GIT_AUTHOR_IDENT)" author_addr="${author%> *}>" { echo "From: $author_addr" + ! header="$(git config topgit.to)" || echo "To: $header" + ! header="$(git config topgit.cc)" || echo "Cc: $header" + ! header="$(git config topgit.bcc)" || echo "Bcc: $header" echo "Subject: [PATCH] $1" echo cat <