fix patch to not strip a leading "." unless it's part of a path
For correctness only, since a tag named ".foo" is very unlikely.master
parent
fc6c0e8b5b
commit
1b1b3927ee
|
@ -61,7 +61,7 @@ sub tagname ($) {
|
|||
if (defined $config{tagbase}) {
|
||||
$tag =~ s!^/\Q$config{tagbase}\E/!!;
|
||||
} else {
|
||||
$tag =~ s!^\.?/?!!;
|
||||
$tag =~ s!^\.?/!!;
|
||||
}
|
||||
return $tag;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue