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

[BUG] git-send-email format-patch awareness & retry

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Sep 7, 2010, 16:59 UTC
Message-ID
<AANLkTimtOguHdcs+QYj7ePNeyMNsWYLDu+yfyOPrDWUG@mail.gmail.com>
(cc primary authors & Junio)

This is more of a TODO note to myself than a bug, but if someone else gets around to fixing these that'd be great too.

git-send-email should:
 * Complain loudly on "*** SUBJECT HERE ***" and "*** BLURB HERE ***"
   This should have an additional "are you sure" dialog:
    Subject: [PATCH 00/20] *** SUBJECT HERE ***
    Date: Tue,  7 Sep 2010 16:43:03 +0000
    Message-Id: <1283877803-17757-1-git-send-email-avarab@gmail.com>
    X-Mailer: git-send-email 1.7.2.3.313.gcd15
    MIME-Version: 1.0
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit
    Send this email? ([y]es|[n]o|[q]uit|[a]ll): y
    Password:
 * Retry before bailing out:
   It's annoying to lose state because of temporary SMTP errors. This
   should offer to sleep for a few seconds and retry:
    Content-Transfer-Encoding: 8bit
    Send this email? ([y]es|[n]o|[q]uit|[a]ll): y
     Go ahead k83sm4304468weq.14
    4.3.0 Mail server temporarily rejected message. k83sm4304468weq.14

It would also be a lot easier to catch errors in the git-send-email output if it supported colors, e.g. colored the subject line differently from others.

Next: Thomas Rast
Message 1 of 4 in “[BUG] git-send-email format-patch awareness & retry”
  1. Ævar Arnfjörð BjarmasonSep 7, 2010
  2. Thomas RastSep 8, 2010
  3. Junio C HamanoSep 8, 2010
  4. Thomas RastSep 9, 2010

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.