On Fri, 25 Apr 2008 13:34:04 +1000, Ben Finney <[EMAIL PROTECTED]> said:
> However: > ===== $ man dpkg-source [...] -i[regexp] You may specify a perl > regular expression to match files you want filtered out of the list of > files for the diff. [...] There can only be one active regexp, of > multiple -i options only the last one will take effect. [...] > $ dpkg-source --help [...] -i[<regexp>] filter out files to ignore > diffs of (defaults to: > '(?:^|/).*~$|(?:^|/)\.#.*$|(?:^|/)\..*\.swp$|(?:^|/),,.*(?:$|/.*$)|(?:^|/)(?:DEADJOE|\.cvsignore|\.arch-inventory|\.bzrignore|\.gitignore)$|(?:^|/)(?:CVS|RCS|\.deps|\{arch\}|\.arch-ids|\.svn|\.hg|_darcs|\.git|\.shelf|_MTN|\.bzr(?:\.backup|tags)?)(?:$|/.*$)'). > [...] ===== > Yikes. So, in order to filter out an additional pattern, I can't just > say "ignore this pattern as well as the defaults". I have to construct > a *single* regexp that contains the default pattern *plus* mine, and > forever diverge from any future changes to the default regexp. Yes. However, the "defaults to:" only applies to if you add the "-i" option with no regexp given. i.e. if you weren't using "-i" already, then dpkg-source wasn't ignoring anything in the first place. -- Hubert Chathi <[EMAIL PROTECTED]> -- Jabber: [EMAIL PROTECTED] PGP/GnuPG key: 1024D/124B61FA http://www.uhoreg.ca/ Fingerprint: 96C5 012F 5F74 A5F7 1FF7 5291 AF29 C719 124B 61FA -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]