summaryrefslogtreecommitdiff
path: root/remote.h
diff options
context:
space:
mode:
authorLibravatar Brandon Williams <bmwill@google.com>2018-05-16 15:57:51 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-05-18 06:19:42 +0900
commit6d4c05785946e302e611be9ac1f5ca0b5ada9214 (patch)
tree94e5e42fc1b0cc1895d23457b13d2bb504b5d5ae /remote.h
parentrefspec: factor out parsing a single refspec (diff)
downloadtgif-6d4c05785946e302e611be9ac1f5ca0b5ada9214.tar.xz
refspec: introduce struct refspec
Introduce 'struct refspec', an abstraction around a collection of 'struct refspec_item's much like how 'struct pathspec' holds a collection of 'struct pathspec_item's. A refspec struct also contains an array of the original refspec strings which will be used to facilitate the migration to using this new abstraction throughout the code base. Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'remote.h')
0 files changed, 0 insertions, 0 deletions