git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Git push error due to hooks error
@ 2018-05-14 17:32 Barodia, Anjali (Nokia - IN/Noida)
  2018-05-14 17:36 ` Martin Fick
  0 siblings, 1 reply; 4+ messages in thread
From: Barodia, Anjali (Nokia - IN/Noida) @ 2018-05-14 17:32 UTC (permalink / raw)
  To: git@vger.kernel.org

Hi Support,


I was trying to push local git to another git on gerrit, but stuck with an hook error.
This is a very large repo and while running the command "git push origin --all"
I am getting this errors:

remote: (W) 92e19d4: too many commit message lines longer than 70 characters; manually wrap lines
remote: (W) de2245b: too many commit message lines longer than 70 characters; manually wrap lines
remote: (W) dc6e982: too many commit message lines longer than 70 characters; manually wrap lines
remote: (W) d2e2efd: too many commit message lines longer than 70 characters; manually wrap lines
remote: error: internal error while processing changes
To ssh_url_path:8282/SI_VF.git
 ! [remote rejected]   master -> master (Error running hook /opt/gerrit/hooks/re    f-update)
error: failed to push some refs to 'ssh_user@url_path:8282/SI_VF.git'

I tried to push after deleting the .git/hooks, but still get the same error.
Please help me in fixing this error.

Thanks with Regards,
Anjali Barodia

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Git push error due to hooks error
  2018-05-14 17:32 Git push error due to hooks error Barodia, Anjali (Nokia - IN/Noida)
@ 2018-05-14 17:36 ` Martin Fick
  0 siblings, 0 replies; 4+ messages in thread
From: Martin Fick @ 2018-05-14 17:36 UTC (permalink / raw)
  To: Barodia, Anjali (Nokia - IN/Noida); +Cc: git@vger.kernel.org

On Monday, May 14, 2018 05:32:35 PM Barodia, Anjali wrote:
> I was trying to push local git to another git on gerrit,
> but stuck with an hook error. This is a very large repo
> and while running the command "git push origin --all" I
> am getting this errors:
> 
> remote: (W) 92e19d4: too many commit message lines longer
> than 70 characters; manually wrap lines remote: (W)
> de2245b: too many commit message lines longer than 70
> characters; manually wrap lines remote: (W) dc6e982: too
> many commit message lines longer than 70 characters;
> manually wrap lines remote: (W) d2e2efd: too many commit
> message lines longer than 70 characters; manually wrap
> lines remote: error: internal error while processing
> changes To ssh_url_path:8282/SI_VF.git
>  ! [remote rejected]   master -> master (Error running
> hook /opt/gerrit/hooks/re    f-update) error: failed to
> push some refs to 'ssh_user@url_path:8282/SI_VF.git'


This is standard Gerrit behavior.  For Gerrit questions, 
please post question to:

Repo and Gerrit Discussion <repo-discuss@googlegroups.com>

-Martin

-- 
The Qualcomm Innovation Center, Inc. is a member of Code 
Aurora Forum, hosted by The Linux Foundation


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Git push error due to hooks error
@ 2018-05-14 17:44 Barodia, Anjali (Nokia - IN/Noida)
  2018-05-14 19:57 ` Kevin Daudt
  0 siblings, 1 reply; 4+ messages in thread
From: Barodia, Anjali (Nokia - IN/Noida) @ 2018-05-14 17:44 UTC (permalink / raw)
  To: repo-discuss@googlegroups.com; +Cc: git@vger.kernel.org

Hi Support,


I was trying to push local git to another git on gerrit, but stuck with an hook error.
This is a very large repo and while running the command "git push origin --all"
I am getting this errors:

remote: (W) 92e19d4: too many commit message lines longer than 70 characters; manually wrap lines
remote: (W) de2245b: too many commit message lines longer than 70 characters; manually wrap lines
remote: (W) dc6e982: too many commit message lines longer than 70 characters; manually wrap lines
remote: (W) d2e2efd: too many commit message lines longer than 70 characters; manually wrap lines
remote: error: internal error while processing changes To ssh_url_path:8282/SI_VF.git
 ! [remote rejected]   master -> master (Error running hook /opt/gerrit/hooks/re    f-update)
error: failed to push some refs to 'ssh_user@url_path:8282/SI_VF.git'

I tried to push after deleting the .git/hooks, but still get the same error.
Please help me in fixing this error.

Thanks with Regards,
Anjali Barodia

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Git push error due to hooks error
  2018-05-14 17:44 Barodia, Anjali (Nokia - IN/Noida)
@ 2018-05-14 19:57 ` Kevin Daudt
  0 siblings, 0 replies; 4+ messages in thread
From: Kevin Daudt @ 2018-05-14 19:57 UTC (permalink / raw)
  To: Barodia, Anjali (Nokia - IN/Noida)
  Cc: repo-discuss@googlegroups.com, git@vger.kernel.org

On Mon, May 14, 2018 at 05:44:06PM +0000, Barodia, Anjali (Nokia - IN/Noida) wrote:
> Hi Support,
> 
> 
> I was trying to push local git to another git on gerrit, but stuck with an hook error.
> This is a very large repo and while running the command "git push origin --all"
> I am getting this errors:
> 
> remote: (W) 92e19d4: too many commit message lines longer than 70 characters; manually wrap lines
> remote: (W) de2245b: too many commit message lines longer than 70 characters; manually wrap lines
> remote: (W) dc6e982: too many commit message lines longer than 70 characters; manually wrap lines
> remote: (W) d2e2efd: too many commit message lines longer than 70 characters; manually wrap lines
> remote: error: internal error while processing changes To ssh_url_path:8282/SI_VF.git
>  ! [remote rejected]   master -> master (Error running hook /opt/gerrit/hooks/re    f-update)
> error: failed to push some refs to 'ssh_user@url_path:8282/SI_VF.git'
> 
> I tried to push after deleting the .git/hooks, but still get the same error.
> Please help me in fixing this error.
> 
> Thanks with Regards,
> Anjali Barodia

Did you remove the hook from the remote repo, or the local repo? Because
this is a hook which runs on the repo you are pushing too. Something
like pre-receive or pre-update is causing this.

Kevin

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-05-14 19:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-14 17:32 Git push error due to hooks error Barodia, Anjali (Nokia - IN/Noida)
2018-05-14 17:36 ` Martin Fick
  -- strict thread matches above, loose matches on Subject: below --
2018-05-14 17:44 Barodia, Anjali (Nokia - IN/Noida)
2018-05-14 19:57 ` Kevin Daudt

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).