summaryrefslogtreecommitdiff
path: root/remote.h
diff options
context:
space:
mode:
Diffstat (limited to 'remote.h')
-rw-r--r--remote.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/remote.h b/remote.h
index 3657bd43d1..637fc5d0c3 100644
--- a/remote.h
+++ b/remote.h
@@ -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;