clone: convert cmd_clone to use refspec_item_init
authorBrandon Williams <redacted>
Wed, 16 May 2018 22:57:58 +0000 (15:57 -0700)
committerJunio C Hamano <redacted>
Thu, 17 May 2018 21:19:42 +0000 (06:19 +0900)
commiteace274df8c63ccdbc5329a830ba3a5f04779051
treee60437fe6a852bba9f77ca68dd22aa8f64b4e0d2
parent8ca69370c890b52d751402034524da5384c5dd9a
clone: convert cmd_clone to use refspec_item_init

Convert 'cmd_clone()' to use 'refspec_item_init()' instead of relying on
the old 'parse_fetch_refspec()' to initialize a single refspec item.

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