[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-diffutils] diff: support for --no-dereference option
From: |
Eric Deplagne |
Subject: |
Re: [bug-diffutils] diff: support for --no-dereference option |
Date: |
Mon, 9 Jan 2012 01:26:49 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Sun, 08 Jan 2012 03:22:22 +0100, Bruno Haible wrote:
> Andreas Gruenbacher wrote:
> > In the two directories case, I really don't see when following symlinks
> > would be desirable. Here, diff is comparable to a tool like tar, for
> > example -- in the tar case, I want to archive what's really there; in
> > the diff case, I want to compare what's really there.
>
> Take an example. I often move subdirectories and big files from one disk
> to another one, for disk space reasons, and leave in a symlink that points
> to the new location. When I now prepare a backup, I'll use "tar chf -".
> And to compare the backup with the original contents, I use "diff -r".
>
> I claim that this use-case is more frequent than the one which does not
> follow symlinks. Proof: GNU diff users were happy with the existing behaviour
> for 20 years.
I've been unhappy with the existing behaviour for symlinks and special files
(devices and probably others, too) for more than 10 years...
Never thought the "diff people" would bother, though, because it's in cases
I diff directory trees (from tar backups, usually) instead of code...
> Bruno
--
Eric Deplagne
signature.asc
Description: Digital signature
- Re: [bug-diffutils] diff: support for --no-dereference option, (continued)
Re: [bug-diffutils] diff: support for --no-dereference option, Andreas Gruenbacher, 2012/01/08
- Re: [bug-diffutils] diff: support for --no-dereference option, Bruno Haible, 2012/01/07
- Re: [bug-diffutils] diff: support for --no-dereference option, Andreas Gruenbacher, 2012/01/08
- Re: [bug-diffutils] diff: support for --no-dereference option, Bruno Haible, 2012/01/07
- Re: [bug-diffutils] diff: support for --no-dereference option, Andreas Gruenbacher, 2012/01/08
- Re: [bug-diffutils] diff: support for --no-dereference option, Paul Eggert, 2012/01/08
- Re: [bug-diffutils] diff: support for --no-dereference option,
Eric Deplagne <=