Commit 5e654200 by Alan Rogers

Implement GIT_DIFF_INCLUDE_UNREADABLE_AS_UNTRACKED

parent 7b491a7d
......@@ -995,6 +995,9 @@ static int handle_unmatched_new_item(
}
else if (nitem->mode == GIT_FILEMODE_UNREADABLE) {
if (DIFF_FLAG_IS_SET(diff, GIT_DIFF_INCLUDE_UNREADABLE_AS_UNTRACKED))
delta_type = GIT_DELTA_UNTRACKED;
else
delta_type = GIT_DELTA_UNREADABLE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment