Subject: bug#31199: Diff sym link bug

From: Alessandro <[email-masked]>
Date: Tue, 17 Apr 2018 16:17:59 +0200

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