Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Williams <bmwill@google.com>2018-05-17 01:58:01 +0300
committerJunio C Hamano <gitster@pobox.com>2018-05-18 00:19:42 +0300
commite5349abf93dfde8052bbcabb4be1dba77feb7053 (patch)
tree42d2d28af195068d38a4bc6c86902f947a9f91ce /remote.h
parent6bdb304b106db32b1cff185f2fa1b79e9c2c919c (diff)
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 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