{"thread":{"id":"48492","subject":"Git push error due to hooks error","startedAt":"2018-05-14T17:44:12Z","lastAt":"2018-05-14T19:57:38Z","messageCount":2,"participants":["Barodia, Anjali (Nokia - IN/Noida)","Kevin Daudt"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"347615","messageId":"AM4PR0701MB2116C3BBD0A1E4892EAB09BB8A9C0@AM4PR0701MB2116.eurprd07.prod.outlook.com","threadId":"48492","inReplyTo":null,"subject":"Git push error due to hooks error","fromName":"Barodia, Anjali (Nokia - IN/Noida)","fromEmail":"anjali.barodia@nokia.com","sentAt":"2018-05-14T17:44:06Z","receivedAt":"2018-05-14T17:44:12Z","isPatch":false,"sender":{"key":"anjali.barodia@nokia.com","avatar":null},"body":"Hi Support,\n\n\nI was trying to push local git to another git on gerrit, but stuck with an hook error.\nThis is a very large repo and while running the command \"git push origin --all\"\nI am getting this errors:\n\nremote: (W) 92e19d4: too many commit message lines longer than 70 characters; manually wrap lines\nremote: (W) de2245b: too many commit message lines longer than 70 characters; manually wrap lines\nremote: (W) dc6e982: too many commit message lines longer than 70 characters; manually wrap lines\nremote: (W) d2e2efd: too many commit message lines longer than 70 characters; manually wrap lines\nremote: error: internal error while processing changes To ssh_url_path:8282/SI_VF.git\n ! [remote rejected]   master -> master (Error running hook /opt/gerrit/hooks/re    f-update)\nerror: failed to push some refs to 'ssh_user@url_path:8282/SI_VF.git'\n\nI tried to push after deleting the .git/hooks, but still get the same error.\nPlease help me in fixing this error.\n\nThanks with Regards,\nAnjali Barodia\n"},{"id":"347622","messageId":"20180514195733.GA22721@alpha","threadId":"48492","inReplyTo":"AM4PR0701MB2116C3BBD0A1E4892EAB09BB8A9C0@AM4PR0701MB2116.eurprd07.prod.outlook.com","subject":"Re: Git push error due to hooks error","fromName":"Kevin Daudt","fromEmail":"me@ikke.info","sentAt":"2018-05-14T19:57:33Z","receivedAt":"2018-05-14T19:57:38Z","isPatch":false,"sender":{"key":"me@ikke.info","avatar":"https://avatars.githubusercontent.com/u/135698?v=4"},"body":"On Mon, May 14, 2018 at 05:44:06PM +0000, Barodia, Anjali (Nokia - IN/Noida) wrote:\n> Hi Support,\n> \n> \n> I was trying to push local git to another git on gerrit, but stuck with an hook error.\n> This is a very large repo and while running the command \"git push origin --all\"\n> I am getting this errors:\n> \n> remote: (W) 92e19d4: too many commit message lines longer than 70 characters; manually wrap lines\n> remote: (W) de2245b: too many commit message lines longer than 70 characters; manually wrap lines\n> remote: (W) dc6e982: too many commit message lines longer than 70 characters; manually wrap lines\n> remote: (W) d2e2efd: too many commit message lines longer than 70 characters; manually wrap lines\n> remote: error: internal error while processing changes To ssh_url_path:8282/SI_VF.git\n>  ! [remote rejected]   master -> master (Error running hook /opt/gerrit/hooks/re    f-update)\n> error: failed to push some refs to 'ssh_user@url_path:8282/SI_VF.git'\n> \n> I tried to push after deleting the .git/hooks, but still get the same error.\n> Please help me in fixing this error.\n> \n> Thanks with Regards,\n> Anjali Barodia\n\nDid you remove the hook from the remote repo, or the local repo? Because\nthis is a hook which runs on the repo you are pushing too. Something\nlike pre-receive or pre-update is causing this.\n\nKevin\n"}]}