summaryrefslogtreecommitdiff
path: root/read-cache.c
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2019-11-05 17:07:23 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-11-10 07:00:54 (GMT)
commit15beaaa3d1f6b555900446deb5e376b4f806d734 (patch)
tree96a960cd2c0c9b1cceeb9c7f5ed46680ba5e67b9 /read-cache.c
parent891529792547c55bf8c94ea8831631702492e839 (diff)
downloadgit-15beaaa3d1f6b555900446deb5e376b4f806d734.zip
git-15beaaa3d1f6b555900446deb5e376b4f806d734.tar.gz
git-15beaaa3d1f6b555900446deb5e376b4f806d734.tar.bz2
Fix spelling errors in code comments
Reported-by: Jens Schleusener <Jens.Schleusener@fossies.org> Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'read-cache.c')
-rw-r--r--read-cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/read-cache.c b/read-cache.c
index 133f790..0674428 100644
--- a/read-cache.c
+++ b/read-cache.c
@@ -1790,7 +1790,7 @@ static struct cache_entry *create_from_disk(struct mem_pool *ce_mem_pool,
const unsigned char *cp = (const unsigned char *)name;
size_t strip_len, previous_len;
- /* If we're at the begining of a block, ignore the previous name */
+ /* If we're at the beginning of a block, ignore the previous name */
strip_len = decode_varint(&cp);
if (previous_ce) {
previous_len = previous_ce->ce_namelen;