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

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Martín Nieto <carlos@cmartin.tk>2012-09-30 12:56:06 +0400
committerCarlos Martín Nieto <carlos@cmartin.tk>2012-09-30 14:05:28 +0400
commit3230a44f4c951cbaeadfa5ae111f6558298dfc61 (patch)
tree2a07a140b7e6352ab6f97d5ca382eafd4ed96dcd /src/refspec.h
parenteb0bd77a8892b77b8eaa57da2f827981c62bc161 (diff)
remote: support downloading all tags
Also honor remote.$name.tagopt = --tags.
Diffstat (limited to 'src/refspec.h')
-rw-r--r--src/refspec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/refspec.h b/src/refspec.h
index 83078151b..a5df458c6 100644
--- a/src/refspec.h
+++ b/src/refspec.h
@@ -19,6 +19,8 @@ struct git_refspec {
matching :1;
};
+#define GIT_REFSPEC_TAGS "refs/tags/*:refs/tags/*"
+
int git_refspec_parse(struct git_refspec *refspec, const char *str);
int git_refspec__parse(
struct git_refspec *refspec,