]> git.scripts.mit.edu Git - git.git/blobdiff - read-cache.c
repack: make parsed string options const-correct
[git.git] / read-cache.c
index d4474eab7b6f9ffbfb4e7da23d284c936f488276..c3d5e3543fae75c81a7a0a00c48bb0076675a2f1 100644 (file)
@@ -489,7 +489,7 @@ int remove_index_entry_at(struct index_state *istate, int pos)
 }
 
 /*
- * Remove all cache ententries marked for removal, that is where
+ * Remove all cache entries marked for removal, that is where
  * CE_REMOVE is set in ce_flags.  This is much more effective than
  * calling remove_index_entry_at() for each entry to be removed.
  */
@@ -1760,7 +1760,7 @@ static int has_racy_timestamp(struct index_state *istate)
 }
 
 /*
- * Opportunisticly update the index but do not complain if we can't
+ * Opportunistically update the index but do not complain if we can't
  */
 void update_index_if_able(struct index_state *istate, struct lock_file *lockfile)
 {