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.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/git2/net.h b/include/git2/net.h
index fb09eb50..4bef9050 100644
--- a/include/git2/net.h
+++ b/include/git2/net.h
@@ -13,10 +13,8 @@
* gets called.
*/
-enum git_net_direction {
- INTENT_PUSH,
- INTENT_PULL
-};
+#define GIT_DIR_FETCH 0
+#define GIT_DIR_PUSH 1
/*
* This is what we give out on ->ls()