Date: prev next · Thread: first prev next last
2019 Archives by date, by thread · List index




Il 04/05/2019 11:49, Kaganski Mike ha scritto:
Hi,

On 04.05.2019 12:45, Cyrille wrote:
I tried:
git push ssh://lafricain@gerrit.libreoffice.org:29418/dictionaries 
HEAD:refs/for/master

I got now this error:
remote: Resolving deltas: 100% (1/1)
remote: Processing changes: refs: 1, done
remote: ERROR: [b5f81e8] missing Change-Id in commit message footer
remote:
remote: Hint: To automatically insert Change-Id, install the hook:
remote:   gitdir=$(git rev-parse --git-dir); scp -p -P 29418 
lafricain@gerrit.libreoffice.org:hooks/commit-msg ${gitdir}/hooks/
remote: And then amend the commit:
remote:   git commit --amend
remote:
To ssh://gerrit.libreoffice.org:29418/dictionaries
  ! [remote rejected] HEAD -> refs/for/master ([b5f81e8] missing 
Change-Id in commit message footer)
The cited hint seems pretty obvious? ;-)
My knwonledge of gerrit is really basic even level zero :) But yes you
are right it is pretty obvious (I didn't read well)... It seems to be ok
now, I did:
gitdir=$(git rev-parse --git-dir); scp -p -P 29418
lafricain@gerrit.libreoffice.org:hooks/commit-msg ${gitdir}/hooks/

Then:
git commit --amend

And finally the command runs without errors:
git push ssh://lafricain@gerrit.libreoffice.org:29418/dictionaries
HEAD:refs/for/master
Enter passphrase for key '/home/cyrille/.ssh/id_rsa':
Décompte des objets: 13, fait.
Delta compression using up to 4 threads.
Compression des objets: 100% (12/12), fait.
Écriture des objets: 100% (13/13), 14.14 KiB | 4.71 MiB/s, fait.
Total 13 (delta 1), reused 0 (delta 0)
remote: Resolving deltas: 100% (1/1)
remote: Processing changes: new: 1, refs: 1, done   
remote:
remote: New Changes:
remote:   https://gerrit.libreoffice.org/71791 New hunspell dic for
Kituba (CD and CG)
remote:
To ssh://gerrit.libreoffice.org:29418/dictionaries
 * [new branch]      HEAD -> refs/for/master






Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.