Re: git-am changes author if its short

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2021-07-07 18:46:53+0200, Professor Bloodstone <prof.bloodstone@xxxxxxxxx> 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@xxxxxxxxxxxxxx>
> 
> Upon applying such patch, the author is replaced with email:
> 
> Author: git@xxxxxxxxxxxxxx <git@xxxxxxxxxxxxxx>
> 
> 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



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux