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

Re: [BUG] Infinite loop in git send-email if ran non-interactively.

From
Matthieu Moy <matthieu.moy@imag.fr>
Date
Mar 25, 2009, 16:23 UTC
Message-ID
<vpq4oxh8tb8.fsf@bauges.imag.fr>
In-Reply-To
<76718490903250904q3ca9f20ak7288e49e226bb9fb@mail.gmail.com>
Jay Soffian <jaysoffian@gmail.com> writes:
Show 7 quoted lines
> On Wed, Mar 25, 2009 at 5:36 AM, Matthieu Moy <Matthieu.Moy@imag.fr> wrote:
>> Hi,
>>
>> I've been hit by c1f2aa45b (send-email: add --confirm option and
>> configuration setting) running git send-email from a cron job.
>
> BTW, can you provide the details on how you are invoking send-email?

patches=$(git format-patch [...]) [...] git send-email --to "$to" --from "$from" $patches

> Have stdin/stdout/stderr been redirected?

stdout and stderr are redirected to a file. stdin is not (I don't know exactly what cron sets it to).

> What arguments are you giving it? And is this Vixie cron?
The "cron" package in Debian etch (oldstable now).
Thanks,
-- 
Matthieu
Previous: Jay Soffian
Message 5 of 5 in “[BUG] Infinite loop in git send-email if ran non-interactively.”
  1. Matthieu MoyMar 25, 2009
  2. Jay SoffianMar 25, 2009
  3. Jay SoffianMar 25, 2009
  4. Jay SoffianMar 25, 2009
  5. Matthieu MoyMar 25, 2009

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.