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

git-1.4.4.3, also 1.5.0rc0: send-email gets empty From:

From
Horst H. von Brand <vonbrand@inf.utfsm.cl>
Date
Dec 27, 2006, 13:43 UTC
Message-ID
<200612271343.kBRDhKfA009927@laptop13.inf.utfsm.cl>
I updated a local project, git-format-patch:ed, and then:
  $ git send-email --to=olpc@listas.inf.utfsm.cl --no-signed-off-by-cc /tmp/0001-Add-myself-to-AUTHORS.txt
  Who should the emails appear to be from? 
  Emails will be sent from: 
  Message-ID to be used as In-Reply-To for the first email? 
  /tmp/0001-Add-myself-to-AUTHORS.txt
  Use of uninitialized value in concatenation (.) or string at /usr/bin/git-send-email line 392.
  (mbox) Adding cc: Horst H. von Brand <vonbrand@inf.utfsm.cl> from line 'From: Horst H. von Brand <vonbrand@inf.utfsm.cl>'
  OK. Log says:
  Date: Wed, 27 Dec 2006 10:27:39 -0300
  Sendmail: /usr/sbin/sendmail
  From: 
  Subject: [PATCH] Add myself to AUTHORS
  Cc: Horst H. von Brand <vonbrand@inf.utfsm.cl>
  To: olpc@listas.inf.utfsm.cl
  Result: OK

I didn't add a From:, per manpage it is assumed to be GIT_COMMITER_IDENT (from 'git-var -l' this is 'Horst H. von Brand <vonbrand@inf.utfsm.cl> 1167226309 -0300'). Note particularly the "Emails will be sent from:" line!

The resulting message is formed right (it has a From: header), so this is just a UI glitch.

The same output from 1.5.0rc0 here.
-- 
Dr. Horst H. von Brand                   User #22616 counter.li.org
Departamento de Informatica                    Fono: +56 32 2654431
Universidad Tecnica Federico Santa Maria             +56 32 2654239
Casilla 110-V, Valparaiso, Chile               Fax:  +56 32 2797513
Next: Quy Tonthat
Message 1 of 4 in “git-1.4.4.3, also 1.5.0rc0: send-email gets empty From:”
  1. Horst H. von BrandDec 27, 2006
  2. git-send-email: default value for "From:" field.Quy Tonthat, Dec 27, 2006
  3. Timur TabiJan 18, 2007
  4. Quy TonthatJan 19, 2007

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.