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

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

Re: GNU utils: [diff] wishlist / add option --exlude-path=PATTERN


From: Jari Aalto
Subject: Re: GNU utils: [diff] wishlist / add option --exlude-path=PATTERN
Date: Sun, 25 Oct 2009 08:26:45 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux)

Andreas Schwab <address@hidden> writes:

> Jari Aalto <address@hidden> writes:
>
>> When doing a recursive diffing, there is a need for one option more:
>>
>>     --exlude-path=PATTERN
>>
>> This would make it possible to match path name to exclude version
>> control related subdirectories from the diff. Those like
>>
>>     *.bzr*
>>     *.git*
>>     *.hg*
>>     *CVS*
>>     *.svn*
>>     *.darcs*
>>     *.mtn*
>
> You can do that already with -x.bzr, etc.  GNU diff will not descent
> directories that match the exclude patterns.

Ah, the info pages are clear:

`--exclude=PATTERN'
     When comparing directories, ignore files and subdirectories whose
     basenames match PATTERN.  *Note Comparing Directories::.

It would be nice if the manual page would be a little more wordy:

       -x PAT  --exclude=PAT
              Exclude files that match PAT.

This is a little too spartan.

For a submitting a patch, I had trouble accessing the git repo:

    https://savannah.gnu.org/git/?group=diffutils
    git clone git://git.savannah.gnu.org/diffutils.git

For some reason, the clone turned out to be empty. Is this the
correct location of latest sources?

Jari




reply via email to

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