Skip to content

Commit 54e1f9f

Browse files
committed
Merge branch 'main' of github.com:git/git
* 'main' of github.com:git/git: cmd-list.perl: fix identifying man sections pack-bitmap: improve grammar of "xor chain" error message
2 parents 456a75f + 4fd6c5e commit 54e1f9f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Documentation/cmd-list.perl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ sub format_one {
1010
$state = 0;
1111
open I, '<', "$name.txt" or die "No such file $name.txt";
1212
while (<I>) {
13-
if (/^(git|scalar)[a-z0-9-]*\(([0-9])\)$/) {
13+
if (/^(?:git|scalar)[a-z0-9-]*\(([0-9])\)$/) {
1414
$mansection = $1;
1515
next;
1616
}

pack-bitmap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -723,7 +723,7 @@ static struct stored_bitmap *lazy_bitmap_for_commit(struct bitmap_index *bitmap_
723723
ALLOC_GROW(xor_items, xor_items_nr + 1, xor_items_alloc);
724724

725725
if (xor_items_nr + 1 >= bitmap_git->entry_count) {
726-
error(_("corrupt bitmap lookup table: xor chain exceed entry count"));
726+
error(_("corrupt bitmap lookup table: xor chain exceeds entry count"));
727727
goto corrupt;
728728
}
729729

0 commit comments

Comments
 (0)