public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: "Siddharth Singh via GitGitGadget" <gitgitgadget@gmail•com>
To: git@vger•kernel.org
Cc: "Emily Shaffer [ ]" <emilyshaffer@google•com>,
	"Jonathan Tan [ ]" <jonathantanmy@google•com>,
	Siddharth Singh <siddharthsingh3099@gmail•com>,
	Siddharth Singh <siddhartth@google•com>
Subject: [PATCH] hashmap.h: fix minor typo
Date: Thu, 30 Mar 2023 15:28:03 +0000	[thread overview]
Message-ID: <pull.1506.git.1680190083688.gitgitgadget@gmail.com> (raw)

From: Siddharth Singh <siddhartth@google•com>

The word "no" should be "not".

Signed-off-by: Siddharth Singh <siddhartth@google•com>
---
    hashmap.h: fix minor typo
    
    Hi folks ! I'm Siddharth from Google, I'm working on libification of
    Git, while going through the hashmap.h I found a minor typo in the
    documentation comment.

Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-1506%2Fs-i-d-d-i-s%2Ffix-typo-in-hashmap.h-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-1506/s-i-d-d-i-s/fix-typo-in-hashmap.h-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/1506

Hi folks ! I'm Siddharth from Google, I'm working on
libification of Git, while going through the hashmap.h
I found a minor typo in the documentation comment.
---
 hashmap.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hashmap.h b/hashmap.h
index 7251687d730..e2cf9c78d84 100644
--- a/hashmap.h
+++ b/hashmap.h
@@ -270,7 +270,7 @@ void hashmap_clear_(struct hashmap *map, ssize_t offset);
 #define hashmap_clear(map) hashmap_clear_(map, -1)
 
 /*
- * Similar to hashmap_clear(), except that the table is no deallocated; it
+ * Similar to hashmap_clear(), except that the table is not deallocated; it
  * is merely zeroed out but left the same size as before.  If the hashmap
  * will be reused, this avoids the overhead of deallocating and
  * reallocating map->table.  As with hashmap_clear(), you may need to free

base-commit: 8d90352acc5c855620042fdcc6092f23a276af6d
-- 
gitgitgadget

             reply	other threads:[~2023-03-30 15:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-30 15:28 Siddharth Singh via GitGitGadget [this message]
2023-03-30 15:51 ` [PATCH] hashmap.h: fix minor typo Emily Shaffer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=pull.1506.git.1680190083688.gitgitgadget@gmail.com \
    --to=gitgitgadget@gmail$(echo .)com \
    --cc=emilyshaffer@google$(echo .)com \
    --cc=git@vger$(echo .)kernel.org \
    --cc=jonathantanmy@google$(echo .)com \
    --cc=siddharthsingh3099@gmail$(echo .)com \
    --cc=siddhartth@google$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox