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
This commit is contained in:
commit
54e1f9f66d
@ -10,7 +10,7 @@ sub format_one {
|
|||||||
$state = 0;
|
$state = 0;
|
||||||
open I, '<', "$name.txt" or die "No such file $name.txt";
|
open I, '<', "$name.txt" or die "No such file $name.txt";
|
||||||
while (<I>) {
|
while (<I>) {
|
||||||
if (/^(git|scalar)[a-z0-9-]*\(([0-9])\)$/) {
|
if (/^(?:git|scalar)[a-z0-9-]*\(([0-9])\)$/) {
|
||||||
$mansection = $1;
|
$mansection = $1;
|
||||||
next;
|
next;
|
||||||
}
|
}
|
||||||
|
@ -723,7 +723,7 @@ static struct stored_bitmap *lazy_bitmap_for_commit(struct bitmap_index *bitmap_
|
|||||||
ALLOC_GROW(xor_items, xor_items_nr + 1, xor_items_alloc);
|
ALLOC_GROW(xor_items, xor_items_nr + 1, xor_items_alloc);
|
||||||
|
|
||||||
if (xor_items_nr + 1 >= bitmap_git->entry_count) {
|
if (xor_items_nr + 1 >= bitmap_git->entry_count) {
|
||||||
error(_("corrupt bitmap lookup table: xor chain exceed entry count"));
|
error(_("corrupt bitmap lookup table: xor chain exceeds entry count"));
|
||||||
goto corrupt;
|
goto corrupt;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user