Merge branch 'pw/diff-no-index-from-named-pipes' into maint-2.42
"git diff --no-index -R <(one) <(two)" did not work correctly, which has been corrected. * pw/diff-no-index-from-named-pipes: diff --no-index: fix -R with stdin
This commit is contained in:
@ -232,6 +232,7 @@ static int queue_diff(struct diff_options *o,
|
||||
if (o->flags.reverse_diff) {
|
||||
SWAP(mode1, mode2);
|
||||
SWAP(name1, name2);
|
||||
SWAP(special1, special2);
|
||||
}
|
||||
|
||||
d1 = noindex_filespec(name1, mode1, special1);
|
||||
|
Reference in New Issue
Block a user