GNU bug report logs -
#21023
REQUEST: --no-dereference missing from manpage + please make a short option for it
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 21023 in the body.
You can then email your comments to 21023 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-diffutils <at> gnu.org
:
bug#21023
; Package
diffutils
.
(Fri, 10 Jul 2015 00:44:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Christoph Anton Mitterer <calestyo <at> scientia.net>
:
New bug report received and forwarded. Copy sent to
bug-diffutils <at> gnu.org
.
(Fri, 10 Jul 2015 00:44:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hey.
It seems that --no-dereference is not documented in the manpage.
Apart from that, --no-dereference seem to me like the more native way
for a recursive diff to work,... i.e. diffing the values of symlinks
and not (recursively) the stuff they point to.
Since no-dereference is so helpful, could you perhaps add a shortcut -R
that is recursive + no-dereference?
Unfortunately it's probably too late to change -r to behave like --no
-dereference (and instead add a --dereference and a -R).
Best wishes,
Chris.
[smime.p7s (application/x-pkcs7-signature, attachment)]
Information forwarded
to
bug-diffutils <at> gnu.org
:
bug#21023
; Package
diffutils
.
(Fri, 10 Jul 2015 18:56:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 21023 <at> debbugs.gnu.org (full text, mbox):
On Thu, Jul 9, 2015 at 5:42 PM, Christoph Anton Mitterer
<calestyo <at> scientia.net> wrote:
> It seems that --no-dereference is not documented in the manpage.
Thanks for the report.
However, it is there for me (using diff-3.3), both in "diff --help"
output and in "info diffutils":
$ diff --help|grep no-d
--no-dereference don't follow symbolic links
From "info diffutils":
'--no-dereference'
Act on symbolic links themselves instead of what they point to.
> Apart from that, --no-dereference seem to me like the more native way
> for a recursive diff to work,... i.e. diffing the values of symlinks
> and not (recursively) the stuff they point to.
It's hard to know which way is more intuitive for more people.
> Since no-dereference is so helpful, could you perhaps add a shortcut -R
> that is recursive + no-dereference?
We add short options only very rarely/carefully, because doing so
risks conflicting with usage in other versions of diff.
> Unfortunately it's probably too late to change -r to behave like --no
> -dereference (and instead add a --dereference and a -R).
-P will eventually be a synonym for --no-dereference.
It used to be documented to mean --unidirectional-new-file,
but that was undocumented in 2002. It is time now to emit
a warning for use of -P, so that we can eventually make it
a synonym for --no-dereference as it is done in numerous
other tools.
Information forwarded
to
bug-diffutils <at> gnu.org
:
bug#21023
; Package
diffutils
.
(Mon, 31 Aug 2015 17:15:03 GMT)
Full text and
rfc822 format available.
Message #11 received at 21023 <at> debbugs.gnu.org (full text, mbox):
--no-dereference appears in 'diff --help' and 'info diffutils', but
not in 'man diff'.
Reply sent
to
Jim Meyering <jim <at> meyering.net>
:
You have taken responsibility.
(Mon, 31 Aug 2015 19:56:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Christoph Anton Mitterer <calestyo <at> scientia.net>
:
bug acknowledged by developer.
(Mon, 31 Aug 2015 19:56:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 21023-done <at> debbugs.gnu.org (full text, mbox):
tags 21023 notabug
thanks
On Mon, Aug 31, 2015 at 9:59 AM, Rodrigo Valiña Gutiérrez
<rodrivg <at> gmail.com> wrote:
> --no-dereference appears in 'diff --help' and 'info diffutils', but
> not in 'man diff'.
Thanks for the report, but that is unlikely to be a problem with this
upstream diffutils package, since the man page (diff.1) is
automatically generated from the output of diff --help, and the build
machinery to do that has been in place for over a decade. I would
suspect whatever installed your diff man pages or the configuration of
your "man(1)" program -- maybe it is searching in the wrong place.
I'm closing the auto-generated ticket in our bug-tracking system, but
please reply here (we'll still see it) if you think there is something
we can improve on this front.
Information forwarded
to
bug-diffutils <at> gnu.org
:
bug#21023
; Package
diffutils
.
(Mon, 31 Aug 2015 20:05:02 GMT)
Full text and
rfc822 format available.
Message #19 received at 21023 <at> debbugs.gnu.org (full text, mbox):
On 8/31/15, Jim Meyering <jim <at> meyering.net> wrote:
> tags 21023 notabug
> thanks
>
> On Mon, Aug 31, 2015 at 9:59 AM, Rodrigo Valiña Gutiérrez
> <rodrivg <at> gmail.com> wrote:
>> --no-dereference appears in 'diff --help' and 'info diffutils', but
>> not in 'man diff'.
>
> Thanks for the report, but that is unlikely to be a problem with this
> upstream diffutils package, since the man page (diff.1) is
> automatically generated from the output of diff --help, and the build
> machinery to do that has been in place for over a decade. I would
> suspect whatever installed your diff man pages or the configuration of
> your "man(1)" program -- maybe it is searching in the wrong place.
Thanks for the reply.
I downloaded diffutils-3.3.tar.xz and in diffutils-3.3/man/diff.1 does
not appear the --no-dereference option. I don't know whether it is
re-generated at compile or install time... but at the moment that file
does not have the said option.
Information forwarded
to
bug-diffutils <at> gnu.org
:
bug#21023
; Package
diffutils
.
(Mon, 31 Aug 2015 20:44:02 GMT)
Full text and
rfc822 format available.
Message #22 received at 21023 <at> debbugs.gnu.org (full text, mbox):
reopen 21023
tags 21023 -notabug
thanks
On Mon, Aug 31, 2015 at 1:04 PM, Rodrigo Valiña Gutiérrez
<rodrivg <at> gmail.com> wrote:
> On 8/31/15, Jim Meyering <jim <at> meyering.net> wrote:
>> tags 21023 notabug
>> thanks
>>
>> On Mon, Aug 31, 2015 at 9:59 AM, Rodrigo Valiña Gutiérrez
>> <rodrivg <at> gmail.com> wrote:
>>> --no-dereference appears in 'diff --help' and 'info diffutils', but
>>> not in 'man diff'.
>>
>> Thanks for the report, but that is unlikely to be a problem with this
>> upstream diffutils package, since the man page (diff.1) is
>> automatically generated from the output of diff --help, and the build
>> machinery to do that has been in place for over a decade. I would
>> suspect whatever installed your diff man pages or the configuration of
>> your "man(1)" program -- maybe it is searching in the wrong place.
>
> Thanks for the reply.
> I downloaded diffutils-3.3.tar.xz and in diffutils-3.3/man/diff.1 does
> not appear the --no-dereference option. I don't know whether it is
> re-generated at compile or install time... but at the moment that file
> does not have the said option.
Oh, I see that you are right! So this *is* a bug. Reopening and untagging.
It looks like I managed to include a stale diff.1 (not including the
then-new --no-dereference description) in the distribution tarball.
That makes me think there is or was a missing dependency. I'll
investigate and report back here.
Information forwarded
to
bug-diffutils <at> gnu.org
:
bug#21023
; Package
diffutils
.
(Tue, 01 Sep 2015 06:15:02 GMT)
Full text and
rfc822 format available.
Message #25 received at 21023 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Mon, Aug 31, 2015 at 1:42 PM, Jim Meyering <jim <at> meyering.net> wrote:
> reopen 21023
> tags 21023 -notabug
> thanks
>
> On Mon, Aug 31, 2015 at 1:04 PM, Rodrigo Valiña Gutiérrez
> <rodrivg <at> gmail.com> wrote:
>> On 8/31/15, Jim Meyering <jim <at> meyering.net> wrote:
>>> tags 21023 notabug
>>> thanks
>>>
>>> On Mon, Aug 31, 2015 at 9:59 AM, Rodrigo Valiña Gutiérrez
>>> <rodrivg <at> gmail.com> wrote:
>>>> --no-dereference appears in 'diff --help' and 'info diffutils', but
>>>> not in 'man diff'.
>>>
>>> Thanks for the report, but that is unlikely to be a problem with this
>>> upstream diffutils package, since the man page (diff.1) is
>>> automatically generated from the output of diff --help, and the build
>>> machinery to do that has been in place for over a decade. I would
>>> suspect whatever installed your diff man pages or the configuration of
>>> your "man(1)" program -- maybe it is searching in the wrong place.
>>
>> Thanks for the reply.
>> I downloaded diffutils-3.3.tar.xz and in diffutils-3.3/man/diff.1 does
>> not appear the --no-dereference option. I don't know whether it is
>> re-generated at compile or install time... but at the moment that file
>> does not have the said option.
>
> Oh, I see that you are right! So this *is* a bug. Reopening and untagging.
> It looks like I managed to include a stale diff.1 (not including the
> then-new --no-dereference description) in the distribution tarball.
> That makes me think there is or was a missing dependency. I'll
> investigate and report back here.
Found the bug. Here's the fix:
[0001-build-correct-man-page-generation-rule.patch (text/x-patch, attachment)]
Information forwarded
to
bug-diffutils <at> gnu.org
:
bug#21023
; Package
diffutils
.
(Wed, 02 Sep 2015 04:20:03 GMT)
Full text and
rfc822 format available.
Message #28 received at 21023-done <at> debbugs.gnu.org (full text, mbox):
On Mon, Aug 31, 2015 at 11:14 PM, Jim Meyering <jim <at> meyering.net> wrote:
> Found the bug. Here's the fix:
Thanks again, Rodrigo.
I've pushed that with a small improvement to help prevent
a repeat of that problem:
http://git.savannah.gnu.org/cgit/diffutils.git/commit/?id=2cd4ff3a5ff52d89
At the same time, I pushed a documentation-improving patch that
had been collecting dust:
http://git.savannah.gnu.org/cgit/diffutils.git/commit/?id=5801f8add854c84
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 30 Sep 2015 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 9 years and 261 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.