summaryrefslogtreecommitdiff
path: root/include/git2/tree.h
diff options
context:
space:
mode:
authorRussell Belfer <arrbee@arrbee.com>2012-03-01 11:45:00 -0800
committerRussell Belfer <arrbee@arrbee.com>2012-03-02 15:51:55 -0800
commite1bcc19110eb7d540dee92af489440dd2953b5d5 (patch)
treeeb5a3a1db6a7dbdd135faa9845a83c222d2790a1 /include/git2/tree.h
parentc19bc93cef62cf4a638ab42ba9562885b07a68ce (diff)
downloadlibgit2-e1bcc19110eb7d540dee92af489440dd2953b5d5.tar.gz
Revert GIT_STATUS constants to avoid issues
This reverts the changes to the GIT_STATUS constants and adds a new enumeration to describe the type of change in a git_diff_delta. I don't love this solution, but it should prevent strange errors from occurring for now. Eventually, I would like to unify the various status constants, but it needs a larger plan and I just wanted to eliminate this breakage quickly.
Diffstat (limited to 'include/git2/tree.h')
-rw-r--r--include/git2/tree.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/git2/tree.h b/include/git2/tree.h
index 95be1d305..972c3795c 100644
--- a/include/git2/tree.h
+++ b/include/git2/tree.h
@@ -314,15 +314,9 @@ enum git_treewalk_mode {
GIT_EXTERN(int) git_tree_walk(git_tree *tree, git_treewalk_cb callback, int mode, void *payload);
typedef enum {
- GIT_STATUS_UNMODIFIED = 0,
GIT_STATUS_ADDED = 1,
GIT_STATUS_DELETED = 2,
GIT_STATUS_MODIFIED = 3,
- /* the following will only be generated by git_diff functions */
- GIT_STATUS_RENAMED = 4,
- GIT_STATUS_COPIED = 5,
- GIT_STATUS_IGNORED = 6,
- GIT_STATUS_UNTRACKED = 7
} git_status_t;
typedef struct {