Skip to content
Snippets Groups Projects

More descriptive message for git hooks and file locks

Merged Valery Sizov requested to merge git_hooks_better_message into master

What does this MR do?

Most of the benefits will be in GitLab EE because we have git hooks there (push rules) and file lock features. Instead of showing "Git operation was rejected by #{hook_name} hook" the actual problem description will be shown. Also you will see a clear message when you edit locked file.

Why was this MR needed?

Because we don't want to confuse our users

What are the relevant issue numbers?

https://gitlab.com/gitlab-org/gitlab-ee/issues/713

Merge request reports

Pipeline #3641343 passed

Pipeline passed for bf218337 on git_hooks_better_message

Merged by avatar (Apr 22, 2025 8:12pm UTC)

Loading

Pipeline #3641624 failed

Pipeline failed for aa9b97f0 on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading