jenkinsci/git-plugin — pull request #194 by Vlatombe (2014-01-24 14:17:40+00:00)
Title: Ignore remote branches not on the same remote

When several GitSCMSource (or derivatives) are set up with different remote names, they may use the same cache (if they share the same url but different refspecs for instance).
When checking branches, it should consider only branches from its own remote.