Cherry-picking a commit yields 500 error of pre-receive hook denies the creation of the cherry-pick-* branch.

This is on 11.4.8-ee. Steps to reproduce:

  1. Have a pre-receive hook for the repository that's just "exit 1"
  2. Cherry-pick in the web UI from e.g. topic to master, and have the "Create merge request..." ticked (the default)
  3. Boom! Get 500 error.

It should instead fail in the same way that the UI for creating a commit fails when a pre-receive hook says "no". I.e. say there was a hook error, and present the output from the hook.

Assignee Loading
Time tracking Loading