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

Re: git send-email --body <file> ?

From
JCJim Cromie <jim.cromie@gmail.com>
Date
May 28, 2011, 18:22 UTC
Message-ID
<BANLkTinPHjON73a37CQD-oT3XWxW4V6=jw@mail.gmail.com>
In-Reply-To
<BANLkTi=28buKWVZeAHZs3xB4ry+njDDuuA@mail.gmail.com>
On Fri, May 27, 2011 at 1:56 PM, Jim Cromie <jim.cromie@gmail.com> wrote:
Show 12 quoted lines
> The perlbug tool is increasingly used by perl community to send patches,
> it has options to save report (perlbug.rep by default)
>
> Ive started hacking it to use git send-email when used from inside the git repo
> (theyve switched to git :-), and Id like to just use the file it writes.
>
> I tried just passing file in as 1st arg, tool was unhappy:
>
> [jimc@groucho perl]$ git send-email --dry-run  perlbug.rep 0001-*
> fatal: perlbug.rep: 61: patch contains a line longer than 998 characters
> warning: no patches were sent
>
Nevermind.

perlbug was doing some odd stuff - it wasnt writing headers to saved file, so when I went to send it, git-send-email complained.

Ive now hacked perlbug to call git-send-email $rptfile @patchfiles, without --compose, and things work.

sorry for the noise.
Previous: Jim Cromie
Message 2 of 2 in “git send-email --body <file> ?”
  1. Jim CromieMay 27, 2011
  2. Jim CromieMay 28, 2011

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.