From: Uwe Kleine-König Date: Sun, 10 May 2009 21:59:46 +0000 (+0200) Subject: remove test for git send-email X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=topgit.git;a=commitdiff_plain;h=be4a4967321b272d59bd0c87e73deeba365349db remove test for git send-email This test didn't work as expected with certain pagers (e.g. vimpager) when stdout is redirected to a non-terminal. Now it's the actual call to git send-email that generates a very similar error message. Reported-by: Antonio Ospite Signed-off-by: Uwe Kleine-König Acked-and-tested-by: Antonio Ospite --- diff --git a/tg-mail.sh b/tg-mail.sh index 4a68464..f5c0cf4 100644 --- a/tg-mail.sh +++ b/tg-mail.sh @@ -29,10 +29,6 @@ done base_rev="$(git rev-parse --short --verify "refs/top-bases/$name" 2>/dev/null)" || die "not a TopGit-controlled branch" -if ! git send-email --help >/dev/null 2>&1; then - die "git send-email command not available" -fi - if [ -n "$in_reply_to" ]; then send_email_args="$send_email_args --in-reply-to=$in_reply_to" fi