On Sunday 11 January 2009 20:39:33 Florian Weimer wrote:
> There seems to be some confusion what's the correct way to ignore only
> the .git subdirectory (and not anything else gittish, which might have
> been present in the .diff.gz before).
>
> Has anybody come up with a proper regexp for -i?  Would
>
>   -I.git '-i^\.git/'
>
> do the trick?
the default regex does the trick:

scripts/Dpkg/Source/Package.pm

our $diff_ignore_default_regexp
...
# File or directory names that should be ignored
(?:^|/)(?:CVS|RCS|\.deps|\{arch\}|\.arch-ids|\.svn|\.hg|_darcs|\.git|
\.shelf|_MTN|\.bzr(?:\.backup|tags)?)(?:$|/.*$)

-- 
pub 4096R/0E4BD0AB 2003-03-18 <people.fccf.net/danchev/key pgp.mit.edu>


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to