From: Matthieu Moy Date: Wed, 25 Mar 2009 16:23:55 GMT Subject: Re: [BUG] Infinite loop in git send-email if ran non-interactively. Message-ID: In-Reply-To: <76718490903250904q3ca9f20ak7288e49e226bb9fb@mail.gmail.com> Jay Soffian writes: > On Wed, Mar 25, 2009 at 5:36 AM, Matthieu Moy 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