diff options
author | Brandon Williams <bmwill@google.com> | 2018-05-17 00:58:00 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-05-17 23:19:42 +0200 |
commit | 6bdb304b106db32b1cff185f2fa1b79e9c2c919c (patch) | |
tree | eae9ab1c184a94f3c033907dbb5f2a74d88cf652 /remote.h | |
parent | fast-export: convert to use struct refspec (diff) | |
download | git-6bdb304b106db32b1cff185f2fa1b79e9c2c919c.tar.xz git-6bdb304b106db32b1cff185f2fa1b79e9c2c919c.zip |
remote: convert push refspecs to struct refspec
Convert the set of push 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.h | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -3,6 +3,7 @@ #include "parse-options.h" #include "hashmap.h" +#include "refspec.h" enum { REMOTE_UNCONFIGURED = 0, @@ -27,10 +28,7 @@ struct remote { int pushurl_nr; int pushurl_alloc; - const char **push_refspec; - struct refspec_item *push; - int push_refspec_nr; - int push_refspec_alloc; + struct refspec push; const char **fetch_refspec; struct refspec_item *fetch; |