Hi all, I've recently been beaten again by this issue which gave me the occasion to think more about it. I have a few more files I'd like to ignore: .gitignore and .git-dpm (git-dpm and git-buildpackage quite pretty nicely together).
During my investigation I couldn't find any way to ignore more files: * debian/souce/local-options has precedence over command line options so the - i options passed in command-line by git-pbuilder is the last considered by dpkg-source and thus the one taking effect * DEBBUILDOPTS from any pbuilderrc will also have lower reference * --extend-diff-ignore can't be used because it only enhance the *default* ignore regexp. But if git-pbuilder stop providing a -i option to dpkg-source, edge cases mentions by Russ could still provide their own -i option in dpkg-source which would replace the default regexp. The other solutions I see would be: 1) a new --git-diff-ignore option (and possibly --git-extend-diff-ignore for people who just want to ignore more files than dpkg-source) 2) a new GITDIFFIGNORE environment variable (and possibly a new GITDIFFEXTENDIGNORE as well) as proposed by Guido 3) a combination of both previous solutions I'd really think removing the option is better for the following reasons, by order of importance: * Building the package with git-buildpackage or manually would give different results * By definition, choosing what to put in the source package is the role of dpkg-source, not git-buildpackage * Without the -i option it's still possible to ignore less files whereas with - i option it's not possible to ignore more files * I believe that ignoring more files is more common than ignoring less
signature.asc
Description: This is a digitally signed message part.