From d4335fd968165684dd04eab3e53ab8a312128e12 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 3 Aug 2017 12:20:36 +0100 Subject: 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 --- dgit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dgit') diff --git a/dgit b/dgit index 9834d03..248a7cb 100755 --- a/dgit +++ b/dgit @@ -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); -- cgit v1.2.3