* git-am changes author if its short
@ 2021-07-07 16:46 Professor Bloodstone
2021-07-07 17:04 ` Đoàn Trần Công Danh
0 siblings, 1 reply; 3+ messages in thread
From: Professor Bloodstone @ 2021-07-07 16:46 UTC (permalink / raw)
To: git
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 :)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: git-am changes author if its short
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
2021-07-07 17:08 ` Đoàn Trần Công Danh
0 siblings, 1 reply; 3+ messages in thread
From: Đoàn Trần Công Danh @ 2021-07-07 17:04 UTC (permalink / raw)
To: Professor Bloodstone; +Cc: git
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: git-am changes author if its short
2021-07-07 17:04 ` Đoàn Trần Công Danh
@ 2021-07-07 17:08 ` Đoàn Trần Công Danh
0 siblings, 0 replies; 3+ messages in thread
From: Đoàn Trần Công Danh @ 2021-07-07 17:08 UTC (permalink / raw)
To: Professor Bloodstone; +Cc: git
On 2021-07-08 00:04:51+0700, Đoàn Trần Công Danh <congdanhqx@gmail.com> wrote:
> 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.
Sorry, I have this email sent too fast. It's being queued for 2.33.0
>
> 1: https://lore.kernel.org/git/xmqq4kf25lso.fsf@gitster.g/
>
> --
> Danh
--
Danh
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-07-07 17:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2021-07-07 17:08 ` Đoàn Trần Công Danh
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).