refspec: factor out parsing a single refspec
authorBrandon Williams <redacted>
Wed, 16 May 2018 22:57:50 +0000 (15:57 -0700)
committerJunio C Hamano <redacted>
Thu, 17 May 2018 21:19:42 +0000 (06:19 +0900)
commit3eec3700fdc4d5b0a33729d45e7fb9735ed7e0f5
tree9265ca72fb70f6838dbac26e9d097aed52ad63f6
parent0ad4a5ff50dbc839ae26aa60c03b55bf416b6000
refspec: factor out parsing a single refspec

Factor out the logic which parses a single refspec into its own
function.  This makes it easier to reuse this logic in a future patch.

Signed-off-by: Brandon Williams <redacted>
Signed-off-by: Junio C Hamano <redacted>
refspec.c
git clone https://git.99rst.org/PROJECT