1. Setup a repo with such branches:
2. Setup job to poll "B/SameNameBranch"
3. Watch never ending changes
plugin executes this command on getting current commit hash:
git ls-remote -h firstname.lastname@example.org:user/some.git B/SameNameBranch
plugin executes WRONG command on getting current commit hash:
git ls-remote -h email@example.com:user/some.git SameNameBranch
It skips full branch name and only uses last path component. This command then returns list of all branches ending with "SameNameBranch", and "A" version has different commit than the needed one. Please just make it to call command with full branch name