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.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/include/git2/net.h b/include/git2/net.h
index c2260fc3b..7c49f804b 100644
--- a/include/git2/net.h
+++ b/include/git2/net.h
@@ -48,18 +48,12 @@ 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;
- int local; /** Exists locally */
+ int local:1, /* available locally */
+ want:1; /* want to update */
git_oid oid;
git_oid loid;
char *name;