Andreas Schwab <
schwab@...> writes:
> Jari Aalto <
jari.aalto@...> 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