Skip to content

remote: Remove hardcoded branch name from error

Will Chandler requested to merge wc-mirror-hardcode-branch into master

Currently if an existing branch/tag we're mirroring matches an existing reference the error message will always refer to 'master'. This is confusing to users as there's no guarantee this is the problem ref.

This MR updates the error message to use the name of the reference that triggered the failure.

Edited by Will Chandler

Merge request reports