git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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).

Previous: Matthew WilcoxNext: Jakub Narebski
Message 2 of 3 in “Add --dry-run option to git-send-email”
  1. Add --dry-run option to git-send-emailMatthew Wilcox, Oct 10, 2006
  2. Junio C HamanoOct 10, 2006
  3. Jakub NarebskiOct 10, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.