bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pathological diff behaviour with mutually-recursive symlinks


From: Paul Eggert
Subject: Re: Pathological diff behaviour with mutually-recursive symlinks
Date: Tue, 22 Sep 2009 09:58:02 -0700
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

Colin Watson <address@hidden> writes:

> My gut feel is that the best way to fix this would be to check for
> symlinks pointing up in the directory tree but not pointing to a direct
> parent, and skip them if they're underneath a directory which we intend
> to compare recursively anyway.

I don't quite follow this proposal; it sounds like it might generate
incorrect output (i.e., omit non-duplicated diffs) in some cases.

For hairy cases like this, wouldn't it be simpler to add an option to
not follow symlinks?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]