git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-send-email: bug with sendemail.multiedit
@ 2012-01-09 19:09 Jean-Francois Dagenais
  2012-01-09 22:55 ` Jeff King
  2012-01-10  9:56 ` Thomas Rast
  0 siblings, 2 replies; 5+ messages in thread
From: Jean-Francois Dagenais @ 2012-01-09 19:09 UTC (permalink / raw)
  To: Pierre Habouzit, pierre.habouzit; +Cc: git

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-01-10 14:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-09 19:09 git-send-email: bug with sendemail.multiedit Jean-Francois Dagenais
2012-01-09 22:55 ` Jeff King
2012-01-09 23:15   ` Junio C Hamano
2012-01-10 14:23   ` Jean-Francois Dagenais
2012-01-10  9:56 ` Thomas Rast

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).