]> git.ipfire.org Git - thirdparty/git.git/commitdiff
merge-ort: fix typos
authorAndrew Kreimer <algonell@gmail.com>
Thu, 19 Sep 2024 18:34:29 +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>
merge-ort.c

index e9d01ac7f7ad344ee533e64ddf926ed2c06d1558..474ba15c016adf6ece469c1d76738f0aeb8c9f9f 100644 (file)
@@ -1148,7 +1148,7 @@ static void collect_rename_info(struct merge_options *opt,
         * Update dir_rename_mask (determines ignore-rename-source validity)
         *
         * dir_rename_mask helps us keep track of when directory rename
-        * detection may be relevant.  Basically, whenver a directory is
+        * detection may be relevant.  Basically, whenever a directory is
         * removed on one side of history, and a file is added to that
         * directory on the other side of history, directory rename
         * detection is relevant (meaning we have to detect renames for all
@@ -3836,7 +3836,7 @@ static int write_completed_directory(struct merge_options *opt,
         *         src/moduleB  2
         *
         *     which is used to know that xtract.c & token.txt are from the
-        *     toplevel dirctory, while umm.c & stuff.h & baz.c are from the
+        *     toplevel directory, while umm.c & stuff.h & baz.c are from the
         *     src/moduleB directory.  Again, following the example above,
         *     once we need to process src/moduleB, then info->offsets is
         *     updated to