Hi! On Tue, 2016-04-26 at 09:10:06 +0200, Sjoerd Simons wrote: > On Thu, Jan 16, 2014 at 08:44:14AM +0100, Raphael Hertzog wrote: > > If you are unhappy with the default, please change it for your package > > with debian/source/options: > > > > tar-ignore=.git > > tar-ignore=.gitignore > > > > As soon as you start being explicit about the ignore rules, the default > > ignore rules are no longer used but you can put the default ignore rule > > back with a single "tar-ignore" (i.e. without value). > > I tried this, dpkg-buildpackage then starts complaining: > dpkg-source: warning: --tar-ignore= is not a valid option for > Dpkg::Source::Package::V3::Native
That's weird, it does work fine here, just checked with git master to make sure there's been no regressions: ,--- dpkg-buildpackage: info: source package pkg dpkg-buildpackage: info: source version 1.0 dpkg-buildpackage: info: source distribution sid dpkg-buildpackage: info: source changed by Test <t...@example.org> dpkg-buildpackage: info: host architecture amd64 dpkg-source --before-build pkg-1.0 dpkg-source: info: using options from pkg-1.0/debian/source/options: --tar-ignore=.gitignore fakeroot debian/rules clean dh clean dh_testdir dh_auto_clean dh_clean dpkg-source -b pkg-1.0 dpkg-source: info: using options from pkg-1.0/debian/source/options: --tar-ignore=.gitignore dpkg-source: info: using source format '3.0 (native)' dpkg-source: info: building pkg in pkg_1.0.tar.xz dpkg-source: info: building pkg in pkg_1.0.dsc […] `--- > This solution does work when switching back to source format 1 though It should always work, otherwise I'd appreciate a reproducer. Thanks, Guillem