diff options
author | Brandon Williams <bmwill@google.com> | 2018-05-16 15:57:49 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-05-18 06:19:41 +0900 |
commit | 0ad4a5ff50dbc839ae26aa60c03b55bf416b6000 (patch) | |
tree | d57cea89eb1cf8d6d3a063278540a6268d5be479 /builtin/pull.c | |
parent | refspec: move refspec parsing logic into its own file (diff) | |
download | tgif-0ad4a5ff50dbc839ae26aa60c03b55bf416b6000.tar.xz |
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>
Diffstat (limited to 'builtin/pull.c')
-rw-r--r-- | builtin/pull.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/pull.c b/builtin/pull.c index 6247c956d7..5a79deae5d 100644 --- a/builtin/pull.c +++ b/builtin/pull.c @@ -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; |