Re: [PATCH 00/28] Decouple inferior_ptid/inferior_thread(); dup ptids in thread list (PR/25412)

Pedro Alves
2020-04-16T13:41:32Z

On 4/15/20 4:04 PM, Simon Marchi wrote:

>>
>> I have
>>
>> [format]
>> useAutoBase = true
>>
>> in my .gitconfig, which is what puts that
>>
>> base-commit: dd1cab0694592099854e66467319253954c93764
>>
>> line at the bottom of the cover letter. That's the commit
>> on top of which the series applies.
>
> This means you also save the cover letter in your mbox file?
Nope, I don't think "git am" understands that base-commit
line. I tried it now, and "git am" complained like so:

$ git am /tmp/test.mbox
Patch is empty.
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

No patch was applied, so this was the cover letter.

That line in the cover letter is put there when I do "git format-patch"
(or "git send-email"), so it's in the opposite direction of previously
described procedure of getting patches from Thunderbird into "git am".

Thanks,
Pedro Alves