refspec: s/refspec_item_init/&_or_die/g
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Tue, 5 Jun 2018 19:54:38 +0000 (19:54 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 11 Jun 2018 17:11:29 +0000 (10:11 -0700)
Rename the refspec_item_init() function introduced in
6d4c057859 ("refspec: introduce struct refspec", 2018-05-16) to
refspec_item_init_or_die().

This follows the convention of other *_or_die() functions, and is done
in preparation for making it a wrapper for a non-fatal variant.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found