diff options
author | Junio C Hamano <gitster@pobox.com> | 2022-09-23 21:07:48 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-09-23 21:07:48 +0300 |
commit | 0d14f80f9450a4ae37b0122d03cfc921a4ee9083 (patch) | |
tree | 238fd0e3d37f7299e35372247c755f6ccfdd9492 | |
parent | 4b79ee4b0cd1130ba8907029cdc5f6a1632aca26 (diff) | |
parent | 32c6fff4b871e510b7d782a4f888609da0089c15 (diff) |
Merge branch 'ma/scalar-to-main-fix'
Fix manpage generation.
* ma/scalar-to-main-fix:
cmd-list.perl: fix identifying man sections
-rwxr-xr-x | Documentation/cmd-list.perl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/cmd-list.perl b/Documentation/cmd-list.perl index 9515a499a3..755a110bc4 100755 --- a/Documentation/cmd-list.perl +++ b/Documentation/cmd-list.perl @@ -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; } |