diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-10-13 10:52:25 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-10-13 10:52:25 +0100 |
commit | 7053910ee1c73badd2df933b28e5fdad8eee161f (patch) | |
tree | c24952469e3418a6bf1dd1a45b525f68c234b365 | |
parent | 6679a38dc8a026af322b799be533789684e74721 (diff) |
dgit: Put (?: ) around $cleanmode_re and use qr{}.
No functional change.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
-rwxr-xr-x | dgit | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -101,7 +101,7 @@ our %forceopts = map { $_=>0 } our %format_ok = map { $_=>1 } ("1.0","3.0 (native)","3.0 (quilt)"); our $suite_re = '[-+.0-9a-z]+'; -our $cleanmode_re = 'dpkg-source(?:-d)?|git|git-ff|check|none'; +our $cleanmode_re = qr{(?:dpkg-source(?:-d)?|git|git-ff|check|none)}; our $git_authline_re = '^([^<>]+) \<(\S+)\> (\d+ [-+]\d+)$'; our $splitbraincache = 'dgit-intern/quilt-cache'; |