summaryrefslogtreecommitdiff
path: root/include/git2/net.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/git2/net.h')
-rw-r--r--include/git2/net.h7
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;
};