threads / patch / 63159

patchpseudo-merge.h: fix a typo

Subject: [PATCH] pseudo-merge.h: fix a typo

## tl;dr

2 messages between Mar 18, 2025 and Mar 19, 2025. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Taylor Blau· Mar 18, 2025, 22:54 UTC · lore

The comment added in 7252d9a036 (pseudo-merge: implement support for finding existing merges, 2024-05-23) misspells 'bitmap' as 'bitamp'.

Correct that so that we no longer have any stray "bitamps" lurking throughout the tree:

    $ git grep -ci bitamp | wc -l
    0
Noticed-by: Jeff King <peff@peff.net>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
---
 pseudo-merge.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Show changes to pseudo-merge.h +1 −1
diff --git a/pseudo-merge.h b/pseudo-merge.h
index c9fbe9d312..cf0e62ecd1 100644
--- a/pseudo-merge.h
+++ b/pseudo-merge.h
@@ -210,7 +210,7 @@ int cascade_pseudo_merges(const struct pseudo_merge_map *pm,
 
 /*
  * Returns a pseudo-merge which contains the exact set of commits
- * listed in the "parents" bitamp, or NULL if none could be found.
+ * listed in the "parents" bitmap, or NULL if none could be found.
  */
 struct pseudo_merge *pseudo_merge_for_parents(const struct pseudo_merge_map *pm,
 					      struct bitmap *parents);

base-commit: 683c54c999c301c2cd6f715c411407c413b1d84e
-- 
2.49.0.1.g3b3cc5c0fa
Elijah Newren· Mar 19, 2025, 14:21 UTC · re: Taylor Blau · lore

Re: [PATCH] pseudo-merge.h: fix a typo

On Tue, Mar 18, 2025 at 3:56 PM Taylor Blau <me@ttaylorr.com> wrote:
Show 6 quoted lines
>
> The comment added in 7252d9a036 (pseudo-merge: implement support for
> finding existing merges, 2024-05-23) misspells 'bitmap' as 'bitamp'.
>
> Correct that so that we no longer have any stray "bitamps" lurking
> throughout the tree:
Those poor bitamps; not being shown any love.
Show 26 quoted lines
>     $ git grep -ci bitamp | wc -l
>     0
>
> Noticed-by: Jeff King <peff@peff.net>
> Signed-off-by: Taylor Blau <me@ttaylorr.com>
> ---
>  pseudo-merge.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/pseudo-merge.h b/pseudo-merge.h
> index c9fbe9d312..cf0e62ecd1 100644
> --- a/pseudo-merge.h
> +++ b/pseudo-merge.h
> @@ -210,7 +210,7 @@ int cascade_pseudo_merges(const struct pseudo_merge_map *pm,
>
>  /*
>   * Returns a pseudo-merge which contains the exact set of commits
> - * listed in the "parents" bitamp, or NULL if none could be found.
> + * listed in the "parents" bitmap, or NULL if none could be found.
>   */
>  struct pseudo_merge *pseudo_merge_for_parents(const struct pseudo_merge_map *pm,
>                                               struct bitmap *parents);
>
> base-commit: 683c54c999c301c2cd6f715c411407c413b1d84e
> --
> 2.49.0.1.g3b3cc5c0fa
Simple clean-up; looks good.

← back to recent threads