chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dgit: Dgit parsing: tolerate newlines etc. not just one space
[dgit.git]
/
dgit
diff --git
a/dgit
b/dgit
index a459d2a4f47cc541a66b3aef42af11f3204eb86a..1fdc26c13b0d3a379f8950460df11783665a3521 100755
(executable)
--- a/
dgit
+++ b/
dgit
@@
-2758,7
+2758,7
@@
sub parse_dsc_field ($$) {
if (!defined $f) {
progress "$what: NO git hash";
} elsif (($dsc_hash, $dsc_distro, $dsc_hint_tag, $dsc_hint_url)
if (!defined $f) {
progress "$what: NO git hash";
} elsif (($dsc_hash, $dsc_distro, $dsc_hint_tag, $dsc_hint_url)
- = $f =~ m/^(\w+)
($distro_re) ($versiontag_re)
(\S+)(?:\s|$)/) {
+ = $f =~ m/^(\w+)
\s+($distro_re)\s+($versiontag_re)\s+
(\S+)(?:\s|$)/) {
progress "$what: specified git info ($dsc_distro)";
$dsc_hint_tag = [ $dsc_hint_tag ];
} elsif ($f =~ m/^\w+\s*$/) {
progress "$what: specified git info ($dsc_distro)";
$dsc_hint_tag = [ $dsc_hint_tag ];
} elsif ($f =~ m/^\w+\s*$/) {