refspec: rename struct refspec to struct refspec_item
authorBrandon Williams <bmwill@google.com>
Wed, 16 May 2018 22:57:49 +0000 (15:57 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 17 May 2018 21:19:41 +0000 (06:19 +0900)
commit0ad4a5ff50dbc839ae26aa60c03b55bf416b6000
treed57cea89eb1cf8d6d3a063278540a6268d5be479
parentec0cb496553ac82f97205a415ca77618406b30e3
refspec: rename struct refspec to struct refspec_item

In preparation for introducing an abstraction around a collection of
refspecs (much like how a 'struct pathspec' is a collection of 'struct
pathspec_item's) rename the existing 'struct refspec' to 'struct
refspec_item'.

Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
15 files changed:
branch.c
builtin/clone.c
builtin/fast-export.c
builtin/fetch.c
builtin/pull.c
builtin/push.c
builtin/remote.c
builtin/submodule--helper.c
checkout.c
refspec.c
refspec.h
remote.c
remote.h
transport-helper.c
transport.c