Make clone parse the default refspec with the normal code
commit689f03964360114bc1139d82b1f6a0d7b897bbf0
authorDaniel Barkalow <barkalow@iabervon.org>
Fri, 6 Mar 2009 04:56:16 +0000 (5 23:56 -0500)
committerJunio C Hamano <gitster@pobox.com>
Sat, 7 Mar 2009 20:19:05 +0000 (7 12:19 -0800)
tree39cef059e3ab68acd0da96b15b26dda3fe162cc9
parent8cc3fe45c92a2e85400a6ee83c3b3a4a8ca1d6c7
Make clone parse the default refspec with the normal code

Instead of creating a refspec by hand, go through the refspec parsing
code, so that changes in the refspec storage will be accounted for.

Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-clone.c