{"thread":{"id":"6760","subject":"git-send-email: default values do not work","startedAt":"2007-02-10T17:15:45Z","lastAt":"2007-02-10T17:15:45Z","messageCount":1,"participants":["Blaisorblade"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"34126","messageId":"200702101815.45201.blaisorblade@yahoo.it","threadId":"6760","inReplyTo":null,"subject":"git-send-email: default values do not work","fromName":"Blaisorblade","fromEmail":"blaisorblade@yahoo.it","sentAt":"2007-02-10T17:15:45Z","receivedAt":"2007-02-10T17:15:45Z","isPatch":false,"sender":{"key":"blaisorblade@yahoo.it","avatar":null},"body":"I'm using git v1.4.4.4, and trying to use directly git-send-email on plain \nfiles.\n\nbug #1 (default values when prompting do not work)\n\nAccording to git-send-email documentation, it should suggest default values \nwhen prompting the user.\n\nHowever it does not, since ->readline does not accept a default value.\n\nI've verified this in man Term\\:\\:ReadLine and by looking \nat /usr/share/perl/5.8.7/Term/ReadLine.pm, and with the perl debugger - the \ndefault is correctly calculated but not printed. At least with my perl \n(5.8.7, from up-to-date Ubuntu 6.06 LTS).\n\ngit-send-email should instead say \"press Enter for default [$default]\" and \nbehave correspondingly.\n\nbug #2 (subject line is cut away but ignored)\n\nAdditionally, I was sending a patch starting with (on 1st line):\n\nKconfig: FAULT_INJECTION can be selected only if LOCKDEP is enabled.\n\n'Kconfig:' is interpreted as a mbox parameter, and ignored, and that line is \nremoved from the email.\n\nThis should be documented and pitfall, and probably the user should be allowed \nto override that.\n\nThanks.\n-- \nInform me of my mistakes, so I can add them to my list!\nPaolo Giarrusso, aka Blaisorblade\nhttp://www.user-mode-linux.org/~blaisorblade\nChiacchiera con i tuoi amici in tempo reale! \n http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com \n"}]}