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)
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

1  2 
builtin/clone.c
builtin/pull.c
refspec.c

diff --cc builtin/clone.c
Simple merge
diff --cc builtin/pull.c
Simple merge
diff --cc refspec.c
Simple merge