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

infinite loop in git-send-email with alias files

From
MFMike Frysinger <vapier.adi@gmail.com>
Date
Jul 17, 2009, 01:10 UTC
Message-ID
<8bd0f97a0907161810w22726ffdye5c8d64719b77b53@mail.gmail.com>

i was setting up an aliasesfile for git-send-email, but in doing so, i inadvertently made a typo creating an infinite loop. i didnt notice right away, but i did notice when `git-send-email` hung using 100% of a cpu.

simple way to reproduce: $ $ git config sendemail.aliasesfile .git/mail $ git config sendemail.aliasfiletype mutt $ cat .git/mail alias a b alias b a $ git send-email HEAD^ --to a <hit enter a few times and watch it hang>

noticed with 1.6.3.3, but seems to be in 1.6.4-rc1 too -mike

Next: Jeff King
Message 1 of 4 in “infinite loop in git-send-email with alias files”
  1. Mike FrysingerJul 17, 2009
  2. Jeff KingJul 23, 2009
  3. Johannes SixtJul 23, 2009
  4. Jeff KingJul 23, 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.