diff options
Diffstat (limited to 'src/status.c')
| -rw-r--r-- | src/status.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/status.c b/src/status.c index 5a592a7c5..e1cb60df9 100644 --- a/src/status.c +++ b/src/status.c @@ -315,6 +315,8 @@ int git_status_list_new( 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_INCLUDE_UNREADABLE_AS_UNTRACKED) != 0) + diffopt.flags = diffopt.flags | GIT_DIFF_INCLUDE_UNREADABLE_AS_UNTRACKED; if ((flags & GIT_STATUS_OPT_RENAMES_FROM_REWRITES) != 0) findopt.flags = findopt.flags | |
