Commit hook for cherry-pick commit
Martin Liška
mliska@suse.cz
Wed May 20 13:55:14 GMT 2020
On 5/20/20 3:48 PM, H.J. Lu wrote:
> On Wed, May 20, 2020 at 6:47 AM Martin Liška <mliska@suse.cz> wrote:
>>
>> On 5/20/20 1:31 PM, H.J. Lu wrote:
>>> On Wed, May 20, 2020 at 1:40 AM Martin Liška <mliska@suse.cz> wrote:
>>>>
>>>> On 5/20/20 12:59 AM, H.J. Lu wrote:
>>>>> I got:
>>>>>
>>>>> $ git push origin releases/gcc-10
>>>>> Enumerating objects: 15, done.
>>>>> Counting objects: 100% (15/15), done.
>>>>> Delta compression using up to 8 threads
>>>>> Compressing objects: 100% (6/6), done.
>>>>> Writing objects: 100% (8/8), 1.15 KiB | 1.15 MiB/s, done.
>>>>> Total 8 (delta 7), reused 2 (delta 2), pack-reused 0
>>>>> remote: *** ChangeLog format failed:
>>>>> remote: ERR: line should start with a tab:"(cherry picked from commit
>>>>> 453954451be68d22462442268a29f54809182d2b)"
>>>>> remote: ERR: could not deduce ChangeLog file
>>>>> remote:
>>>>> remote: Please see: https://gcc.gnu.org/codingconventions.html#ChangeLogs
>>>>> remote:
>>>>> remote: error: hook declined to update refs/heads/releases/gcc-10
>>>>> To ssh://gcc.gnu.org/git/gcc.git
>>>>> ! [remote rejected] releases/gcc-10 -> releases/gcc-10 (hook declined)
>>>>> error: failed to push some refs to 'ssh://hjl@gcc.gnu.org/git/gcc.git'
>>>>>
>>>>> My cherry-pick commit message has
>>>>>
>>>>> (cherry picked from commit 453954451be68d22462442268a29f54809182d2b)
>>>>>
>>>>> Shouldn't it be allowed?
>>>>>
>>>>
>>>> Hello.
>>>>
>>>> It is fixed now, please try to push the commit.
>>>>
>>>> Martin
>>>
>>> I got
>>>
>>> remote: *** ChangeLog format failed:
>>> remote: ERR: line should start with a tab:"(cherry picked from commit
>>> 1e46a443f25d26816536c0c480211714b123a1d5)"
>>> remote: ERR: could not deduce ChangeLog file
>>>
>>
>> Can you please send me the patch via email (git format-patch)?
>>
>
> Here.
>
Which branch do you want to push it to?
Martin
More information about the Gcc
mailing list