From: Thomas Schwinge Date: Sun, 28 Feb 2010 13:24:08 +0000 (+0100) Subject: tg-mail: Properly quote argument to --in-reply-to X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=c71ac555f5eded27692a0c3eb364eb0a0ce8e0c0;p=topgit.git tg-mail: Properly quote argument to --in-reply-to Message-Ids usually contain < and >. These need to be quoted. Signed-off-by: Thomas Schwinge Signed-off-by: Uwe Kleine-König --- diff --git a/tg-mail.sh b/tg-mail.sh index 6a008b4..8167ade 100644 --- a/tg-mail.sh +++ b/tg-mail.sh @@ -30,7 +30,7 @@ base_rev="$(git rev-parse --short --verify "refs/top-bases/$name" 2>/dev/null)" die "not a TopGit-controlled branch" if [ -n "$in_reply_to" ]; then - send_email_args="$send_email_args --in-reply-to=$in_reply_to" + send_email_args="$send_email_args --in-reply-to='$in_reply_to'" fi