diff options
author | Carlos Martín Nieto <carlos@cmartin.tk> | 2012-09-30 10:56:06 +0200 |
---|---|---|
committer | Carlos Martín Nieto <carlos@cmartin.tk> | 2012-09-30 12:05:28 +0200 |
commit | 3230a44f4c951cbaeadfa5ae111f6558298dfc61 (patch) | |
tree | 2a07a140b7e6352ab6f97d5ca382eafd4ed96dcd /src/refspec.h | |
parent | eb0bd77a8892b77b8eaa57da2f827981c62bc161 (diff) | |
download | libgit2-3230a44f4c951cbaeadfa5ae111f6558298dfc61.tar.gz |
remote: support downloading all tags
Also honor remote.$name.tagopt = --tags.
Diffstat (limited to 'src/refspec.h')
-rw-r--r-- | src/refspec.h | 2 |
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, |