Check if a refspec's source 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 source descriptor matches a reference