From 92c077ed46b29c7145c33690b3ddf5e8f7d89362 Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Wed, 19 Sep 2012 08:35:33 +0300 Subject: [PATCH] patch-generation: filter out changes to packaging dir Utilize the ignore-path functionality of git-buildpackage to ignore changes made to the packaging files when generating patches. Signed-off-by: Markus Lehtonen --- gitbuildsys/cmd_export.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gitbuildsys/cmd_export.py b/gitbuildsys/cmd_export.py index 4d445ca..3a0ad5d 100644 --- a/gitbuildsys/cmd_export.py +++ b/gitbuildsys/cmd_export.py @@ -101,7 +101,8 @@ def create_gbp_export_args(repo, commit, export_dir, tmp_dir, spec, opts, "--git-patch-export-compress=100k", "--git-force-create", "--git-patch-export-squash-until=%s" % - squash_patches_until]) + squash_patches_until, + "--git-patch-export-ignore-path=^packaging/.*"]) if repo.has_branch("pristine-tar"): args.extend(["--git-pristine-tar"]) -- 2.7.4