threads / patch / 42238

patchsplit-index: fix typo

Subject: [PATCH] split-index: fix typo

## tl;dr

One message between May 6, 2016 and May 6, 2016. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Li Peng· May 6, 2016, 11:50 UTC · lore
Fix a typo in comment.
Signed-off-by: Li Peng <lip@dtdream.com>
---
 split-index.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Show changes to split-index.c +1 −1
diff --git a/split-index.c b/split-index.c
index 968b780..3c75d4b 100644
--- a/split-index.c
+++ b/split-index.c
@@ -60,7 +60,7 @@ static void mark_base_index_entries(struct index_state *base)
 	 * To keep track of the shared entries between
 	 * istate->base->cache[] and istate->cache[], base entry
 	 * position is stored in each base entry. All positions start
-	 * from 1 instead of 0, which is resrved to say "this is a new
+	 * from 1 instead of 0, which is reserved to say "this is a new
 	 * entry".
 	 */
 	for (i = 0; i < base->cache_nr; i++)
-- 
1.8.3.1

← back to recent threads