diff options
| author | Carlos Martín Nieto <carlos@cmartin.tk> | 2011-06-22 14:53:01 +0200 |
|---|---|---|
| committer | Vicent Marti <tanoku@gmail.com> | 2011-08-18 02:34:07 +0200 |
| commit | e1f4a761506f61f05e74265633aec76cf75cbd50 (patch) | |
| tree | feeec1d37aa786773cbb55beb37aee75276025d8 /include/git2/net.h | |
| parent | c94bc192e36f7a13cda8496d5e8e70ad8cbb967c (diff) | |
| download | libgit2-e1f4a761506f61f05e74265633aec76cf75cbd50.tar.gz | |
Add git_fetch_list_want which creates the "want" list
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
Diffstat (limited to 'include/git2/net.h')
| -rw-r--r-- | include/git2/net.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/git2/net.h b/include/git2/net.h index 164f0ac0a..ecf4f6c75 100644 --- a/include/git2/net.h +++ b/include/git2/net.h @@ -48,10 +48,17 @@ GIT_BEGIN_DECL #define GIT_DIR_FETCH 0 #define GIT_DIR_PUSH 1 +enum git_whn { + GIT_WHN_NONE, + GIT_WHN_HAVE, + GIT_WHN_WANT, +}; + /** * Remote head description, given out on `ls` calls. */ struct git_remote_head { + enum git_whn type; git_oid oid; char *name; }; |
