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

git-am changes author if its short

From
PBProfessor Bloodstone <prof.bloodstone@gmail.com>
Date
Jul 7, 2021, 16:46 UTC
Message-ID
<CABHhMZHEL=0sU8JqwMb5Va7mjA4ZxM_WMaLMabbKS085RVbDzQ@mail.gmail.com>

When applying a patch using git am test.patch, if author consists of 1 or 2 letters, then it is being replaced with author email instead.

For example take patch with such line:
From: AA <git@bloodstone.dev>
Upon applying such patch, the author is replaced with email:
Author: git@bloodstone.dev <git@bloodstone.dev>

I did try multiple different 1 or 2 letter names, they all seem to have the same issue. 3 letter names work fine. This was tested by 3 people in our project, and happens in very different setups.

I'm having a hard time finding the exact cause of it. Tried searching for issues, but didn't find anything. Maybe someone has an idea what could it be caused by?

I hope I disabled the HTML mode properly and use this mailing list as intended :)

Next: Đoàn Trần Công Danh
Message 1 of 3 in “git-am changes author if its short”
  1. Professor BloodstoneJul 7, 2021
  2. Đoàn Trần Công DanhJul 7, 2021
  3. Đoàn Trần Công DanhJul 7, 2021

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.