Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-09-23 21:07:48 +0300
committerJunio C Hamano <gitster@pobox.com>2022-09-23 21:07:48 +0300
commit0d14f80f9450a4ae37b0122d03cfc921a4ee9083 (patch)
tree238fd0e3d37f7299e35372247c755f6ccfdd9492
parent4b79ee4b0cd1130ba8907029cdc5f6a1632aca26 (diff)
parent32c6fff4b871e510b7d782a4f888609da0089c15 (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-xDocumentation/cmd-list.perl2
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;
}