Parse a given refspec string
a pointer to hold the refspec handle
the refspec string
is this a refspec for a fetch
0 if the refspec string could be parsed, -1 otherwise