X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=tg-create.sh;fp=tg-create.sh;h=d196e4f5fa56bbba8de8034a9c5366c478879f49;hb=785797fab53ce1f735eaa516e3775ac2e7ec5bfe;hp=0db1cf376bdde093396a96cfd8df0eec8a96fd00;hpb=2e60e0028aa2902a421d166b8803ec640af8471b;p=topgit.git 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 <