summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlan Rogers <alan@github.com>2014-05-30 16:21:49 -0700
committerAlan Rogers <alan@github.com>2014-05-30 16:21:49 -0700
commit66271925a118040eac4d18230cfa88461c1e3788 (patch)
tree636f38155b5db4c34446989b99935bbe4af4dbe7 /src
parenta777fc378583ca88f860c1d770bb959c25bec276 (diff)
downloadlibgit2-66271925a118040eac4d18230cfa88461c1e3788.tar.gz
Add GIT_STATUS_OPT_INCLUDE_UNREADABLE
Diffstat (limited to 'src')
-rw-r--r--src/status.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/status.c b/src/status.c
index 6b8009854..5a592a7c5 100644
--- a/src/status.c
+++ b/src/status.c
@@ -313,6 +313,8 @@ int git_status_list_new(
diffopt.flags = diffopt.flags | GIT_DIFF_IGNORE_SUBMODULES;
if ((flags & GIT_STATUS_OPT_UPDATE_INDEX) != 0)
diffopt.flags = diffopt.flags | GIT_DIFF_UPDATE_INDEX;
+ if ((flags & GIT_STATUS_OPT_INCLUDE_UNREADABLE) != 0)
+ diffopt.flags = diffopt.flags | GIT_DIFF_INCLUDE_UNREADABLE;
if ((flags & GIT_STATUS_OPT_RENAMES_FROM_REWRITES) != 0)
findopt.flags = findopt.flags |