diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2019-09-05 09:34:06 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2019-09-05 09:35:30 +0100 |
commit | 0e6b4849c4a26631f70c6537d016c5da10e1ec1c (patch) | |
tree | 02655513205be3b21c4195db776c520b3d8be6a4 /Debian | |
parent | 1db4fd4c84de73ea00617e281335ec23a70aa1d0 (diff) |
Dgit: Break out $tarball_f_ext_re.
We are going to reuse this.
No functional change.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'Debian')
-rw-r--r-- | Debian/Dgit.pm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Debian/Dgit.pm b/Debian/Dgit.pm index 3ac042c..5d898ae 100644 --- a/Debian/Dgit.pm +++ b/Debian/Dgit.pm @@ -68,7 +68,8 @@ BEGIN { reflog_cache_insert reflog_cache_lookup $package_re $component_re $suite_re $deliberately_re $distro_re $versiontag_re $series_filename_re - $orig_f_comp_re $orig_f_sig_re $orig_f_tail_re + $orig_f_comp_re $orig_f_sig_re + $tarball_f_ext_re $orig_f_tail_re $extra_orig_namepart_re $git_null_obj $branchprefix @@ -107,7 +108,8 @@ our $series_filename_re = qr{(?:^|\.)series(?!\n)$}s; our $extra_orig_namepart_re = qr{[-0-9a-zA-Z]+}; our $orig_f_comp_re = qr{orig(?:-$extra_orig_namepart_re)?}; our $orig_f_sig_re = '\\.(?:asc|gpg|pgp)'; -our $orig_f_tail_re = "$orig_f_comp_re\\.tar(?:\\.\\w+)?(?:$orig_f_sig_re)?"; +our $tarball_f_ext_re = "\\.tar(?:\\.\\w+)?(?:$orig_f_sig_re)?"; +our $orig_f_tail_re = "$orig_f_comp_re$tarball_f_ext_re"; our $git_null_obj = '0' x 40; our $ffq_refprefix = 'ffq-prev'; our $gdrlast_refprefix = 'debrebase-last'; |