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

git-send-email: bug with sendemail.multiedit

From
JDJean-Francois Dagenais <jeff.dagenais@gmail.com>
Date
Jan 9, 2012, 19:09 UTC
Message-ID
<1AC16B4B-8376-4A50-A900-BB8E704FAB82@gmail.com>
Bonjour Pierre! ... and all git developers!
I think there is a bug with git-send-email.perl's evaluation of the sendemail.multiedit config variable.

I was only able to make the "do_edit()" function detect it as false by setting the variable to "0" instead of "false", like so:

git config --global sendemail.multiedit 0
otherwise do_edit evaluates it as true and invokes the editor with all files as argument.
All other git config boolean variables are set to either "true" or "false", not "0" or "1".

Not being too familiar with the perl language, I don't know how to fix this without spending an hour, which is probably the amount of time I already spent narrowing the problem down already. So I leave this into more capable hands.

cheers.
Next: Jeff King
Message 1 of 5 in “git-send-email: bug with sendemail.multiedit”
  1. Jean-Francois DagenaisJan 9, 2012
  2. Jeff KingJan 9, 2012
  3. Junio C HamanoJan 9, 2012
  4. Jean-Francois DagenaisJan 10, 2012
  5. Thomas RastJan 10, 2012

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.