Re: Keep directory in working tree, but exclude from foo.diff.gz
Ben Finney wrote:
> Felipe Sateler <email@example.com> writes:
>> Ben Finney wrote:
>> > What would be the best way to keep such a directory in place, but
>> > exclude the directory from the Debian source and binary packages?
>> dpkg-source -i"regexp"?
> Thanks. That looks like the right functionality, indeed.
> $ man dpkg-source
> 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:
> 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.
> Am I reading it wrong, or is this dpkg-source option really that
Apparently it is. Note though that most of that regex is to match stuff you
won't use (eg, every VCS in common use, you probably use only one).
BTW, why are there files useful to you but not other developers?