chiark
/
gitweb
/
~ian
/
topbloke.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nickname is optional in patch specs
[topbloke.git]
/
Topbloke.pm
diff --git
a/Topbloke.pm
b/Topbloke.pm
index d33d87f7dc77f8cbddb5f1ed23c8dc19cb749cde..b469f26ba5c3341476722f8e19d488c66dd093eb 100644
(file)
--- a/
Topbloke.pm
+++ b/
Topbloke.pm
@@
-199,8
+199,9
@@
sub parse_patch_spec ($) {
@l >= $rel_levels or
die "relative patch spec \`$orig' has too many ../s\n";
$_ = (join '/', @l[0..$#l-$rel_levels]).'/'.$_;
+ } elsif (length) {
+ $spec->{Nick} = $_;
}
- $spec->{Nick} = $_;
return $spec;
}