Re: [PATCH] Add --dry-run option to git-send-email
- From
Junio C Hamano <junkio@cox.net>
- Date
- Oct 10, 2006, 17:44 UTC
- Message-ID
- <7vslhw12w4.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20061010145823.GB8993@parisc-linux.org>
Matthew Wilcox <matthew@wil.cx> writes:
Show 5 quoted lines
> Add a --dry-run option to git-send-email due to having made too many > mistakes with it in the past week. I like having a safety catch on my > machine gun. > > Signed-off-by: Matthew @ilcox <matthew@wil.cx>
Good.
When I have to look into other people's issues with send-email, I used to say "--smtp-server=/var/tmp/send" which is this script:
#!/bin/sh
for i
do
echo "arg $i"
done
sed -e 's/^/Msg: /'I hope your patch makes the above hack unneeded (I want to see what is fed to sendmail, what goes on the header and body).