{"thread":{"id":"56074","subject":"git-am changes author if its short","startedAt":"2021-07-07T16:47:09Z","lastAt":"2021-07-07T17:08:08Z","messageCount":3,"participants":["Professor Bloodstone","Đoàn Trần Công Danh"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"429425","messageId":"CABHhMZHEL=0sU8JqwMb5Va7mjA4ZxM_WMaLMabbKS085RVbDzQ@mail.gmail.com","threadId":"56074","inReplyTo":null,"subject":"git-am changes author if its short","fromName":"Professor Bloodstone","fromEmail":"prof.bloodstone@gmail.com","sentAt":"2021-07-07T16:46:53Z","receivedAt":"2021-07-07T16:47:09Z","isPatch":false,"sender":{"key":"prof.bloodstone@gmail.com","avatar":null},"body":"When applying a patch using git am test.patch, if author consists of 1\nor 2 letters, then it is being replaced with author email instead.\n\nFor example take patch with such line:\n\nFrom: AA <git@bloodstone.dev>\n\nUpon applying such patch, the author is replaced with email:\n\nAuthor: git@bloodstone.dev <git@bloodstone.dev>\n\nI did try multiple different 1 or 2 letter names, they all seem to\nhave the same issue. 3 letter names work fine. This was tested by 3\npeople in our project, and happens in very different setups.\n\nI'm having a hard time finding the exact cause of it. Tried searching\nfor issues, but didn't find anything. Maybe someone has an idea what\ncould it be caused by?\n\nI hope I disabled the HTML mode properly and use this mailing list as\nintended :)\n"},{"id":"429427","messageId":"YOXesxUQW9zRX4uV@danh.dev","threadId":"56074","inReplyTo":"CABHhMZHEL=0sU8JqwMb5Va7mjA4ZxM_WMaLMabbKS085RVbDzQ@mail.gmail.com","subject":"Re: git-am changes author if its short","fromName":"Đoàn Trần Công Danh","fromEmail":"congdanhqx@gmail.com","sentAt":"2021-07-07T17:04:51Z","receivedAt":"2021-07-07T17:04:58Z","isPatch":false,"sender":{"key":"congdanhqx@gmail.com","avatar":"https://avatars.githubusercontent.com/u/42673067?v=4"},"body":"On 2021-07-07 18:46:53+0200, Professor Bloodstone <prof.bloodstone@gmail.com> wrote:\n> When applying a patch using git am test.patch, if author consists of 1\n> or 2 letters, then it is being replaced with author email instead.\n> \n> For example take patch with such line:\n> \n> From: AA <git@bloodstone.dev>\n> \n> Upon applying such patch, the author is replaced with email:\n> \n> Author: git@bloodstone.dev <git@bloodstone.dev>\n> \n> I did try multiple different 1 or 2 letter names, they all seem to\n> have the same issue. 3 letter names work fine. This was tested by 3\n> people in our project, and happens in very different setups.\n> \n> I'm having a hard time finding the exact cause of it. Tried searching\n> for issues, but didn't find anything. Maybe someone has an idea what\n> could it be caused by?\n\nA patch for this problem has been merged [1]. Git 2.32.0 should have\nthis problem fixed.\n\n1: https://lore.kernel.org/git/xmqq4kf25lso.fsf@gitster.g/\n\n-- \nDanh\n"},{"id":"429428","messageId":"YOXfcbxtE577xHLb@danh.dev","threadId":"56074","inReplyTo":"YOXesxUQW9zRX4uV@danh.dev","subject":"Re: git-am changes author if its short","fromName":"Đoàn Trần Công Danh","fromEmail":"congdanhqx@gmail.com","sentAt":"2021-07-07T17:08:01Z","receivedAt":"2021-07-07T17:08:08Z","isPatch":false,"sender":{"key":"congdanhqx@gmail.com","avatar":"https://avatars.githubusercontent.com/u/42673067?v=4"},"body":"On 2021-07-08 00:04:51+0700, Đoàn Trần Công Danh <congdanhqx@gmail.com> wrote:\n> On 2021-07-07 18:46:53+0200, Professor Bloodstone <prof.bloodstone@gmail.com> wrote:\n> > When applying a patch using git am test.patch, if author consists of 1\n> > or 2 letters, then it is being replaced with author email instead.\n> > \n> > For example take patch with such line:\n> > \n> > From: AA <git@bloodstone.dev>\n> > \n> > Upon applying such patch, the author is replaced with email:\n> > \n> > Author: git@bloodstone.dev <git@bloodstone.dev>\n> > \n> > I did try multiple different 1 or 2 letter names, they all seem to\n> > have the same issue. 3 letter names work fine. This was tested by 3\n> > people in our project, and happens in very different setups.\n> > \n> > I'm having a hard time finding the exact cause of it. Tried searching\n> > for issues, but didn't find anything. Maybe someone has an idea what\n> > could it be caused by?\n> \n> A patch for this problem has been merged [1]. Git 2.32.0 should have\n> this problem fixed.\n\nSorry, I have this email sent too fast. It's being queued for 2.33.0\n\n> \n> 1: https://lore.kernel.org/git/xmqq4kf25lso.fsf@gitster.g/\n> \n> -- \n> Danh\n\n-- \nDanh\n"}]}