chiark / gitweb /
dgit: dpkg_source_ignores: Exclude the right set of things
[dgit.git] / dgit-maint-merge.7.pod
index df1f953cdeb8956cd9e3aecf789a892b454cfac7..901707e6eaf2fcec9526eec5345fe0095a4f813d 100644 (file)
@@ -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