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>
This commit is contained in:
Brandon Williams
2018-05-16 15:57:49 -07:00
committed by Junio C Hamano
parent ec0cb49655
commit 0ad4a5ff50
15 changed files with 73 additions and 73 deletions

View File

@ -676,7 +676,7 @@ static const char *get_upstream_branch(const char *remote)
*/
static const char *get_tracking_branch(const char *remote, const char *refspec)
{
struct refspec *spec;
struct refspec_item *spec;
const char *spec_src;
const char *merge_branch;