Enforce ref hook option in all relevant subcommands
Enforces the ref hook option by flagging relevant git commands. Then, the ref hooks were applied in all errors found in CI in a test driven way. Similarly, the Git subcommands (internal/git/subcommands.go
) and error handling were updated to keep the same expected test behavior.
Split off from !2583 (merged)
Closes #2963 (closed)
Edited by Paul Okstad (ex-GitLab)