diff options
Diffstat (limited to 'include/git2/net.h')
-rw-r--r-- | include/git2/net.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/git2/net.h b/include/git2/net.h index 734ee708f..2543ff8e0 100644 --- a/include/git2/net.h +++ b/include/git2/net.h @@ -27,8 +27,10 @@ GIT_BEGIN_DECL * gets called. */ -#define GIT_DIR_FETCH 0 -#define GIT_DIR_PUSH 1 +typedef enum { + GIT_DIRECTION_FETCH = 0, + GIT_DIRECTION_PUSH = 1 +} git_direction; /** |