summaryrefslogtreecommitdiff
path: root/remote.h
diff options
context:
space:
mode:
authorBrandon Williams <bmwill@google.com>2018-05-16 22:58:01 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-05-17 21:19:42 (GMT)
commite5349abf93dfde8052bbcabb4be1dba77feb7053 (patch)
tree42d2d28af195068d38a4bc6c86902f947a9f91ce /remote.h
parent6bdb304b106db32b1cff185f2fa1b79e9c2c919c (diff)
downloadgit-e5349abf93dfde8052bbcabb4be1dba77feb7053.zip
git-e5349abf93dfde8052bbcabb4be1dba77feb7053.tar.gz
git-e5349abf93dfde8052bbcabb4be1dba77feb7053.tar.bz2
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 'remote.h')
-rw-r--r--remote.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/remote.h b/remote.h
index 637fc5d..e7d00fe 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