With --ignore-file-name-case we need to compare files regardless of
case. We need to propigate both names down to diffit so we can look up
the correct file when the names differ based on case, otherwise we try
to look up the file using the case from the a tree which might not be
discoverable if its case is different in the b tree..
Details
Details
- Reviewers
bapt pstef - Group Reviewers
Klara - Commits
- rG3931c072c63d: diff: fix failed compare when ignoring file case
mkdir a mkdir b echo "hello" > a/foo echo "hello" > b/FOO set -o xtrace gdiff -u -r --ignore-file-name-case a b diff -u -r --ignore-file-name-case a b $diffcmd -u -r --ignore-file-name-case a b
before diff will report:
diff: b/foo: No such file or directory
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 44333 Build 41221: arc lint + arc unit