Merge branch 'nd/diff-quiet-stat-dirty'
"git diff --quiet -- pathspec1 pathspec2" sometimes did not return correct status value. * nd/diff-quiet-stat-dirty: diff: do not quit early on stat-dirty files diff.c: move diffcore_skip_stat_unmatch core logic out for reuse later
This commit is contained in:
@@ -68,6 +68,8 @@ struct diff_filepair {
|
||||
unsigned broken_pair : 1;
|
||||
unsigned renamed_pair : 1;
|
||||
unsigned is_unmerged : 1;
|
||||
unsigned done_skip_stat_unmatch : 1;
|
||||
unsigned skip_stat_unmatch_result : 1;
|
||||
};
|
||||
#define DIFF_PAIR_UNMERGED(p) ((p)->is_unmerged)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user