summaryrefslogtreecommitdiff
path: root/refspec.h
diff options
context:
space:
mode:
Diffstat (limited to 'refspec.h')
-rw-r--r--refspec.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/refspec.h b/refspec.h
index 8c0c446993..69d693c87d 100644
--- a/refspec.h
+++ b/refspec.h
@@ -2,7 +2,6 @@
#define REFSPEC_H
#define TAG_REFSPEC "refs/tags/*:refs/tags/*"
-extern const struct refspec_item *tag_refspec;
/**
* A struct refspec_item holds the parsed interpretation of a refspec. If it
@@ -27,6 +26,8 @@ struct refspec_item {
char *src;
char *dst;
+
+ char *raw;
};
#define REFSPEC_FETCH 1
@@ -44,10 +45,6 @@ struct refspec {
int alloc;
int nr;
- const char **raw;
- int raw_alloc;
- int raw_nr;
-
int fetch;
};