From be4a4967321b272d59bd0c87e73deeba365349db Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20Kleine-K=C3=B6nig?= Date: Sun, 10 May 2009 23:59:46 +0200 Subject: [PATCH] remove test for git send-email MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- tg-mail.sh | 4 ---- 1 file changed, 4 deletions(-) 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 -- 2.30.2