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

Re: dpkg-source argument to ignore .git subdirectory

* Florian Weimer [Sun, 11 Jan 2009 19:39:33 +0100]:

> 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?

Why don't you just pass "-i" alone to debuild/dpkg-buildpackage/dpkg-source?
That way, the default regexp that dpkg provides will be used, which I think
is good enough.

Adeodato Simó                                     dato at net.com.org.es
Debian Developer                                  adeodato at debian.org
Russian roulette in bash: ((RANDOM%6)) || rm -rf ~

Reply to: