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

Re: [PATCH 0/2] More git-send-email updates

From
Nicolas Vilz 'niv' <niv@iaglans.de>
Date
Feb 13, 2006, 15:58 UTC
Message-ID
<43F0AC98.4010501@iaglans.de>
In-Reply-To
<11398189232404-git-send-email-ryan@michonline.com>
Ryan Anderson wrote:
Show 13 quoted lines
> To follow up on some conversations related to git-send-email this week, here are two updates:
> 
> The first adds a command line option to suppress adding the "From" address to
> the list of addresses to Cc, when it appears in a From: header line.  (Note
> that git-send-email never looked for From: lines inside the body of a message
> to use as a source for Cc: addresses, which, given the patch formats Linus has
> previously talked about, is probably a bug.)
> 
> The second patch adds the mythical "--cc" option.  I say "mythical" because it
> has never existed, but both Junio and I have mentioned it (or used it)
> recently, so we both *assumed* that it existed.  I think that's justification
> for adding it.
> 

it is a very nice idea to use git-send-email together with git-format-patch --stdout, but i think, maybe i do something wrong... I tried that cli-syntax Junio mentioned in "Whats in git.git"

git format-patch --stdout <branch_01>..<branch_02>|git send-email --to <email_address>

and got a "Error: Please specify a file or a directory on the command line.".

Besides, git asks me for a From-Header (which is fixed with this patch, I suppose)

I use git 1.2.0 directly from your git-repository.
so actually git-send-email does not work with this syntax above.

If I first produce the patches, save them into another directory and afterwards give git-send-email that directory for lunch, it works...

is there any other work-around for this everyday-task but a shellscript which temporarily creates a patch-dir which contains the patches and removes it after git-send-email is done with it?

Sincerly Nicolas

Previous: Ryan Anderson
Message 2 of 2 in “More git-send-email updates”
  1. 0/2 More git-send-email updatesRyan Anderson, Feb 13, 2006
  2. Nicolas Vilz 'niv'Feb 13, 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.