diffcore-rename: fix typos

Fix typos in comments.

Signed-off-by: Andrew Kreimer <algonell@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Andrew Kreimer
2024-09-19 18:34:22 +00:00
committed by Junio C Hamano
parent 26eab80642
commit 4b8c76638f

View File

@ -933,7 +933,7 @@ static int find_basename_matches(struct diff_options *options,
* spend more cycles to find similarities between files, so it may * spend more cycles to find similarities between files, so it may
* be less likely that this heuristic is wanted. If someone is * be less likely that this heuristic is wanted. If someone is
* doing break detection, that means they do not want filename * doing break detection, that means they do not want filename
* similarity to imply any form of content similiarity, and thus * similarity to imply any form of content similarity, and thus
* this heuristic would definitely be incompatible. * this heuristic would definitely be incompatible.
*/ */
@ -1534,7 +1534,7 @@ void diffcore_rename_extended(struct diff_options *options,
* - remove ones not found in relevant_sources * - remove ones not found in relevant_sources
* and * and
* - remove ones in relevant_sources which are needed only * - remove ones in relevant_sources which are needed only
* for directory renames IF no ancestory directory * for directory renames IF no ancestry directory
* actually needs to know any more individual path * actually needs to know any more individual path
* renames under them * renames under them
*/ */