Hi,

How to reproduce:

Scenario:

dirA
    ..
    bar -> foo
    foo

dirB
    ..

Diff man

-N, --new-file
    treat absent files as empty

--no-dereference
    don't follow symbolic links

Output

$ diff --no-dereference dirA dirB > /dev/null

$ diff -N --no-dereference dirA dirB > /dev/null
diff: dirB/bar: No such file or directory


Version:

diff (GNU diffutils) 3.6

It's seems a bug, any fix or workaround for that?


Thanks