summaryrefslogtreecommitdiff
path: root/name-hash.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2019-12-01 09:04:34 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-12-01 09:04:34 -0800
commit5149902ff9f22e47c5ab52687b540671947d9404 (patch)
treea1e6c469c9af4451fc0dd15411dbdf983f51ad3c /name-hash.c
parentMerge branch 'js/fetch-multi-lockfix' (diff)
parentname-hash.c: remove duplicate word in comment (diff)
downloadtgif-5149902ff9f22e47c5ab52687b540671947d9404.tar.xz
Merge branch 'en/misc-doc-fixes'
Misc doc fixes. * en/misc-doc-fixes: name-hash.c: remove duplicate word in comment hashmap: fix documentation misuses of -> versus . git-filter-branch.txt: correct argument name typo
Diffstat (limited to 'name-hash.c')
-rw-r--r--name-hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/name-hash.c b/name-hash.c
index ceb1d7bd6f..4885bae5da 100644
--- a/name-hash.c
+++ b/name-hash.c
@@ -218,7 +218,7 @@ static int lookup_lazy_params(struct index_state *istate)
* However, the hashmap is going to put items into bucket
* chains based on their hash values. Use that to create n
* mutexes and lock on mutex[bucket(hash) % n]. This will
- * decrease the collision rate by (hopefully) by a factor of n.
+ * decrease the collision rate by (hopefully) a factor of n.
*/
static void init_dir_mutex(void)
{