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

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

diff --include option


From: marty leisner
Subject: diff --include option
Date: Thu, 26 Oct 2006 02:38:47 -0400
User-agent: KMail/1.8

I resurrected a patch I did to diff over a decade ago to give diff an 
--include option
(original patch is:
http://groups.google.com/group/gnu.utils.bug/browse_frm/thread/5aa53134278d7ef0?hl=en

Its very useful to be able to do:

diff -r --include='*.[ch]' --include=Makefile.am --include='*.glade' 
--exclude=GENFOO*.c -u -N proj1 mypatch-proj1

and it does the "right thing" without having to figure out what to exclude.

Its wrt diff 2.8.7.

marty

Attachment: diff.patch
Description: Text Data


reply via email to

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