Merge branch 'ab/refspec-init-fix'
authorJunio C Hamano <gitster@pobox.com>
Thu, 28 Jun 2018 19:53:29 +0000 (12:53 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 28 Jun 2018 19:53:29 +0000 (12:53 -0700)
commita9097269036141876c586ddeee561a37b686c8e5
tree7f496e3fd3a4c8aca1fe95c0978744e28e860e28
parented843436dd4924c10669820cc73daf50f0b4dabd
parent7865d157a5e8d86f46e626d933bda5c18eab196a
Merge branch 'ab/refspec-init-fix'

Make refspec parsing codepath more robust.

* ab/refspec-init-fix:
  refspec: initalize `refspec_item` in `valid_fetch_refspec()`
  refspec: add back a refspec_item_init() function
  refspec: s/refspec_item_init/&_or_die/g
builtin/clone.c
builtin/pull.c
refspec.c