git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Đoàn Trần Công Danh" <congdanhqx@gmail.com>
To: Professor Bloodstone <prof.bloodstone@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: git-am changes author if its short
Date: Thu, 8 Jul 2021 00:04:51 +0700	[thread overview]
Message-ID: <YOXesxUQW9zRX4uV@danh.dev> (raw)
In-Reply-To: <CABHhMZHEL=0sU8JqwMb5Va7mjA4ZxM_WMaLMabbKS085RVbDzQ@mail.gmail.com>

On 2021-07-07 18:46:53+0200, Professor Bloodstone <prof.bloodstone@gmail.com> wrote:
> 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?

A patch for this problem has been merged [1]. Git 2.32.0 should have
this problem fixed.

1: https://lore.kernel.org/git/xmqq4kf25lso.fsf@gitster.g/

-- 
Danh

  reply	other threads:[~2021-07-07 17:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-07 16:46 git-am changes author if its short Professor Bloodstone
2021-07-07 17:04 ` Đoàn Trần Công Danh [this message]
2021-07-07 17:08   ` Đoàn Trần Công Danh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YOXesxUQW9zRX4uV@danh.dev \
    --to=congdanhqx@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=prof.bloodstone@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).