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>

Andrew Kreimer committed Sep 19, 2024 at 18:34 UTC 4b8c76638ffbb61b8ee2f4819146c89c574a5271
1 file changed +2 -2
diffcore-rename.c
+2 -2
@@ -933,7 +933,7 @@ static int find_basename_matches(struct diff_options *options,
933 * spend more cycles to find similarities between files, so it may
934 * be less likely that this heuristic is wanted. If someone is
935 * doing break detection, that means they do not want filename
936 - * similarity to imply any form of content similiarity, and thus
936 + * similarity to imply any form of content similarity, and thus
937 * this heuristic would definitely be incompatible.
938 */
939
@@ -1534,7 +1534,7 @@ void diffcore_rename_extended(struct diff_options *options,
1534 * - remove ones not found in relevant_sources
1535 * and
1536 * - remove ones in relevant_sources which are needed only
1537 - * for directory renames IF no ancestory directory
1537 + * for directory renames IF no ancestry directory
1538 * actually needs to know any more individual path
1539 * renames under them
1540 */