зеркало из https://github.com/microsoft/git.git
Merge branch 'ma/scalar-to-main-fix'
Fix manpage generation. * ma/scalar-to-main-fix: cmd-list.perl: fix identifying man sections
This commit is contained in:
Коммит
0d14f80f94
|
@ -10,7 +10,7 @@ sub format_one {
|
|||
$state = 0;
|
||||
open I, '<', "$name.txt" or die "No such file $name.txt";
|
||||
while (<I>) {
|
||||
if (/^(git|scalar)[a-z0-9-]*\(([0-9])\)$/) {
|
||||
if (/^(?:git|scalar)[a-z0-9-]*\(([0-9])\)$/) {
|
||||
$mansection = $1;
|
||||
next;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче