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

[BUG] send-email: alias expansion broken

From
Michael J Gruber <git@drmicha.warpmail.net>
Date
Oct 14, 2011, 12:29 UTC
Message-ID
<4E982B27.8050807@drmicha.warpmail.net>
cec5dae (use new Git::config_path() for aliasesfile, 2011-09-30)
broke the expansion of aliases for me:
./git-send-email --cc=junio  --dry-run
0001-t7800-avoid-arithmetic-expansion-notation.patch
0001-t7800-avoid-arithmetic-expansion-notation.patch
Who should the emails appear to be from? [Michael J Gruber
<git@drmicha.warpmail.net>]
Emails will be sent from: Michael J Gruber <git@drmicha.warpmail.net>
Dry-OK. Log says:
Sendmail: /home/mjg/bin/msmtp-fastmail-git -i git@vger.kernel.org junio
git@drmicha.warpmail.net
From: Michael J Gruber <git@drmicha.warpmail.net>
To: git@vger.kernel.org
Cc: junio
...
Happens with both "--cc junio" and "--cc=junio".
Reverting cec5dae brings my aliases back. Relevant config:

git config --get-regexp sendemail.alias\* sendemail.aliasesfile /home/mjg/git/gitauthors sendemail.aliasfiletype mutt

Can I please have alias expansion back?

No, I don't know what cec5dae tries to achieve, and I lack the perl fu to fix it.

Michael
Next: Cord Seele
Message 1 of 11 in “[BUG] send-email: alias expansion broken”
  1. Michael J GruberOct 14, 2011
  2. fix alias expansion with new Git::config_path()Cord Seele, Oct 14, 2011
  3. Michael J GruberOct 14, 2011
  4. Cord SeeleOct 14, 2011
  5. Junio C HamanoOct 14, 2011
  6. Jakub NarebskiOct 14, 2011
  7. Junio C HamanoOct 14, 2011
  8. send-email: Fix %config_path_settings handlingJakub Narebski, Oct 14, 2011
  9. Junio C HamanoOct 14, 2011
  10. Jakub NarebskiOct 14, 2011
  11. Junio C HamanoOct 14, 2011

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.