Check if a refspec's destination descriptor matches a reference
the refspec
the name of the reference to check
1 if the refspec matches, 0 otherwise
See Implementation
Check if a refspec's destination descriptor matches a reference