path: root/dgit-maint-merge.7.pod
diff options
authorIan Jackson <>2017-08-03 12:20:36 +0100
committerIan Jackson <>2017-08-04 23:06:19 +0100
commitd4335fd968165684dd04eab3e53ab8a312128e12 (patch)
treed9f87913f8c78d7a062dbf82b90009ef0a207b28 /dgit-maint-merge.7.pod
parent0929e8c0d79bd140a1a3d459042045c0d4a2b011 (diff)
dgit: dpkg_source_ignores: Exclude the right set of things
Change the dpkg-source -i argument to exclude exactly the right set of things. (Sadly this is not a simple rune.) Previously we might exclude `foo.git', for example ! Signed-off-by: Ian Jackson <>
Diffstat (limited to 'dgit-maint-merge.7.pod')
1 files changed, 1 insertions, 1 deletions
diff --git a/dgit-maint-merge.7.pod b/dgit-maint-merge.7.pod
index df1f953..901707e 100644
--- a/dgit-maint-merge.7.pod
+++ b/dgit-maint-merge.7.pod
@@ -209,7 +209,7 @@ Then make new upstream tags available:
Now you simply need to ensure that your git HEAD is dgit-compatible,
i.e., it is exactly what you would get if you ran
-B<dpkg-buildpackage -i'\.git/' -I.git -S>
+B<dpkg-buildpackage -i'(?:^|/)\.git(?:/|$)' -I.git -S>
and then unpacked the resultant source package.
=for dgit-test dpkg-source-ignores end