bug-patch
[Top][All Lists]
Advanced

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

[bug-patch] diff -r and what constitutes "a difference"


From: Tim Waugh
Subject: [bug-patch] diff -r and what constitutes "a difference"
Date: Wed, 01 Jun 2011 17:00:38 +0100

Imagine this directory tree:

.
|-- [drwxrwxr-x]  a
|   `-- [drwxrwxr-x]  foo
|       |-- [-rw-rw-r--]  file1
|       |-- [-rw-rw-r--]  file2
|       `-- [-rw-rw-r--]  file3
`-- [drwxrwxr-x]  b
    `-- [-rw-rw-r--]  foo

In diffutils-3.0, 'diff -r a b' says this:

File a/foo is a directory while file b/foo is a regular empty file

This is correct as far as it goes, but it's been suggested¹ that it's
missing a few differences, and that it ought to say this:

File a/foo is a directory while file b/foo is a regular empty file
Only in a: foo/file1
Only in a: foo/file2
Only in a: foo/file3

What do you think?

Tim.
*/

¹ https://bugzilla.redhat.com/show_bug.cgi?id=688369

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

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