# [PATCH] pack-bitmap: improve grammar of "xor chain" error message

2 messages from 2022-09-22 to 2022-09-23. Participants: Alex Henrie, Junio C Hamano.
Thread: https://gitlist.dev/t/58486

## Alex Henrie, 2022-09-22 02:51

Subject: [PATCH] pack-bitmap: improve grammar of "xor chain" error message
Message-ID: <20220922025158.415969-1-alexhenrie24@gmail.com>
URL: https://gitlist.dev/e/20220922025158.415969-1-alexhenrie24%40gmail.com

```
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
---
 pack-bitmap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pack-bitmap.c b/pack-bitmap.c
index 9a208abc1f..9d5205055a 100644
--- a/pack-bitmap.c
+++ b/pack-bitmap.c
@@ -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);
 
 		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;
 		}
 
-- 
2.37.3


```

## Junio C Hamano, 2022-09-23 15:55

Subject: Re: [PATCH] pack-bitmap: improve grammar of "xor chain" error message
Message-ID: <xmqqv8pew0er.fsf@gitster.g>
URL: https://gitlist.dev/e/xmqqv8pew0er.fsf%40gitster.g
In-Reply-To: <20220922025158.415969-1-alexhenrie24@gmail.com>

```
Alex Henrie <alexhenrie24@gmail.com> writes:

> Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
> ---
>  pack-bitmap.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/pack-bitmap.c b/pack-bitmap.c
> index 9a208abc1f..9d5205055a 100644
> --- a/pack-bitmap.c
> +++ b/pack-bitmap.c
> @@ -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);
>  
>  		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"));

Thanks.  This will affect the l10n team, and the change is obviously
innocuous, so let's merge it down immediately to the 'master' branch
to make the life of l10n team more predictable.


```
