]> git.ipfire.org Git - thirdparty/git.git/commitdiff
diffcore-rename: fix typos
authorAndrew Kreimer <algonell@gmail.com>
Thu, 19 Sep 2024 18:34:22 +0000 (18:34 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 19 Sep 2024 20:46:00 +0000 (13:46 -0700)
Fix typos in comments.

Signed-off-by: Andrew Kreimer <algonell@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diffcore-rename.c

index fab45b10d7e8c0650a0609a92e4d4d379335a236..3d6826baa3a30e6be37f5dbb23c42990ba789275 100644 (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
         * be less likely that this heuristic is wanted.  If someone is
         * 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.
         */
 
@@ -1534,7 +1534,7 @@ void diffcore_rename_extended(struct diff_options *options,
                 *   - remove ones not found in relevant_sources
                 * and
                 *   - 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
                 *     renames under them
                 */