Skip to content

Only execute system hooks once when pushing tags

What does this MR do?

At present, we execute system hooks twice when pushing a tag - once with information about the last commit in the tag, and the tag's message, and once without.

I don't know why we do this, it's very arguably a bug, and it means pushing branches and pushing tags differ from each other in a way that interferes with my Git::{Branch,Tag}PushService refactor scheduled for %11.10: https://gitlab.com/gitlab-org/gitlab-ce/issues/15463 . So, let's try removing the system hook duplicate that has less information in it.

What are the relevant issue numbers?

Does this MR meet the acceptance criteria?

Closes #52560 (closed)

Merge request reports