Hook error message displayed problem in Gitlab

Description of the problem:

I have some pre-receive validation for uploading a file in GitLab. While upload in front-end, the perfect error message was displayed "You can't push this repository".

While upload a file using git command I got problem like following "GL-HOOK-ERR: You can't push this repository". It seems like a bad.

Describe what you were doing right before the issue occurred.

Try to upload invalid file which is hook declined a file in gitlab-ui.

Then upload a file using git command. You will see output with GL-HOOK-ERR: in the message.

Related issues

  • gitlab-foss#48132 (closed)
Edited Nov 12, 2019 by Luke Duncalfe
Assignee Loading
Time tracking Loading