chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8af91de
)
dgit: Dgit parsing: tolerate newlines etc. not just one space
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 8 Jan 2017 23:31:42 +0000
(23:31 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 9 Jan 2017 02:20:09 +0000
(
02:20
+0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
dgit
patch
|
blob
|
history
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)
- = $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*$/) {