summaryrefslogtreecommitdiffstats
path: root/remote.h
diff options
context:
space:
mode:
authorBrandon Williams <bmwill@google.com>2018-05-17 00:58:01 +0200
committerJunio C Hamano <gitster@pobox.com>2018-05-17 23:19:42 +0200
commite5349abf93dfde8052bbcabb4be1dba77feb7053 (patch)
tree42d2d28af195068d38a4bc6c86902f947a9f91ce /remote.h
parentremote: convert push refspecs to struct refspec (diff)
downloadgit-e5349abf93dfde8052bbcabb4be1dba77feb7053.tar.xz
git-e5349abf93dfde8052bbcabb4be1dba77feb7053.zip
remote: convert fetch refspecs to struct refspec
Convert the set of fetch refspecs stored in 'struct remote' to use 'struct refspec'. Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to '')
-rw-r--r--remote.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/remote.h b/remote.h
index 637fc5d0c3..e7d00fe2a3 100644
--- a/remote.h
+++ b/remote.h
@@ -30,10 +30,7 @@ struct remote {
struct refspec push;
- const char **fetch_refspec;
- struct refspec_item *fetch;
- int fetch_refspec_nr;
- int fetch_refspec_alloc;
+ struct refspec fetch;
/*
* -1 to never fetch tags