diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2017-08-03 12:20:36 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2017-08-04 23:06:19 +0100 |
commit | d4335fd968165684dd04eab3e53ab8a312128e12 (patch) | |
tree | d9f87913f8c78d7a062dbf82b90009ef0a207b28 /dgit | |
parent | 0929e8c0d79bd140a1a3d459042045c0d4a2b011 (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 <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'dgit')
-rwxr-xr-x | dgit | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -100,7 +100,7 @@ our $git_authline_re = '^([^<>]+) \<(\S+)\> (\d+ [-+]\d+)$'; our $splitbraincache = 'dgit-intern/quilt-cache'; our $rewritemap = 'dgit-rewrite/map'; -our @dpkg_source_ignores = qw(-i\.git/ -I.git); +our @dpkg_source_ignores = qw(-i(?:^|/)\.git(?:/|$) -I.git); our (@git) = qw(git); our (@dget) = qw(dget); |