mirror of
https://git.proxmox.com/git/libgit2
synced 2025-11-03 16:29:14 +00:00
Add GIT_STATUS_OPT_INCLUDE_UNREADABLE
This commit is contained in:
parent
a777fc3785
commit
66271925a1
@ -148,6 +148,7 @@ typedef enum {
|
||||
GIT_STATUS_OPT_RENAMES_FROM_REWRITES = (1u << 11),
|
||||
GIT_STATUS_OPT_NO_REFRESH = (1u << 12),
|
||||
GIT_STATUS_OPT_UPDATE_INDEX = (1u << 13),
|
||||
GIT_STATUS_OPT_INCLUDE_UNREADABLE = (1u << 14),
|
||||
} git_status_opt_t;
|
||||
|
||||
#define GIT_STATUS_OPT_DEFAULTS \
|
||||
|
||||
@ -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 |
|
||||
|
||||
Loading…
Reference in New Issue
Block a user