From 61bef72dc35c593e632dc2008c4eec271a264869 Mon Sep 17 00:00:00 2001 From: Alan Rogers Date: Tue, 20 May 2014 23:57:40 +1000 Subject: Start adding GIT_DELTA_UNREADABLE and GIT_STATUS_WT_UNREADABLE. --- include/git2/diff.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/git2/diff.h') diff --git a/include/git2/diff.h b/include/git2/diff.h index b40cc6135..ebf47e3c0 100644 --- a/include/git2/diff.h +++ b/include/git2/diff.h @@ -191,6 +191,9 @@ typedef enum { * can apply given diff information to binary files. */ GIT_DIFF_SHOW_BINARY = (1 << 30), + + /** Include unreadable files in the diff */ + GIT_DIFF_INCLUDE_UNREADABLE = (1 << 31), } git_diff_option_t; /** @@ -237,6 +240,7 @@ typedef enum { GIT_DELTA_IGNORED = 6, /** entry is ignored item in workdir */ GIT_DELTA_UNTRACKED = 7, /** entry is untracked item in workdir */ GIT_DELTA_TYPECHANGE = 8, /** type of entry changed between old and new */ + GIT_DELTA_UNREADABLE = 9, /** entry is unreadable */ } git_delta_t; /** -- cgit v1.2.1