Commit f5287fa6c39762072e30140329c41e9f304d7c04

Carlos Martín Nieto 2014-07-04T17:17:23

refspec: support asterisks in the middle of a pattern We used to assume a refspec would only have an asterisk in the middle of their respective pattern. This has not been a valid assumption for some time now with git. Instead of assuming where the asterisk is going to be, change the logic to treat each pattern as having two halves with a replacement bit in the middle, where the asterisk is.