diff options
| author | Carlos Martín Nieto <carlos@cmartin.tk> | 2012-09-27 11:58:35 +0200 |
|---|---|---|
| committer | Carlos Martín Nieto <carlos@cmartin.tk> | 2012-09-30 12:04:49 +0200 |
| commit | f70e466f680a00deb4ff6229c0379a2b6ae1b68f (patch) | |
| tree | d27eb2f9d6179bad0be32be8637adc687c7cefd0 /include/git2/remote.h | |
| parent | a37ddf7ef80e7f3f79ec708496dcf4302b57f2de (diff) | |
| download | libgit2-f70e466f680a00deb4ff6229c0379a2b6ae1b68f.tar.gz | |
remote: add accessors for the autotag setting
Diffstat (limited to 'include/git2/remote.h')
| -rw-r--r-- | include/git2/remote.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/git2/remote.h b/include/git2/remote.h index 032bb30e5..1bca7a716 100644 --- a/include/git2/remote.h +++ b/include/git2/remote.h @@ -310,6 +310,23 @@ enum { GIT_REMOTE_DOWNLOAD_TAGS_AUTO }; +/** + * Retrieve the tag auto-follow setting + * + * @param remote the remote to query + * @return the auto-follow setting + */ +GIT_EXTERN(int) git_remote_autotag(git_remote *remote); + +/** + * Set the tag auto-follow setting + * + * @param remote the remote to configure + * @param value a GIT_REMOTE_DOWNLOAD_TAGS value + */ +GIT_EXTERN(void) git_remote_set_autotag(git_remote *remote, int value); + + /** @} */ GIT_END_DECL #endif |
