summaryrefslogtreecommitdiff
path: root/t/t4100
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2019-11-05 17:07:24 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-11-10 07:00:54 (GMT)
commit7a40cf1553a3fce9200d665352ff556d153d4a2d (patch)
tree9bff82ef68c92dcd5f7d080d721562920a9af9de /t/t4100
parent15beaaa3d1f6b555900446deb5e376b4f806d734 (diff)
downloadgit-7a40cf1553a3fce9200d665352ff556d153d4a2d.zip
git-7a40cf1553a3fce9200d665352ff556d153d4a2d.tar.gz
git-7a40cf1553a3fce9200d665352ff556d153d4a2d.tar.bz2
Fix spelling errors in comments of testcases
Reported-by: Jens Schleusener <Jens.Schleusener@fossies.org> Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4100')
-rw-r--r--t/t4100/t-apply-3.patch2
-rw-r--r--t/t4100/t-apply-7.patch2
2 files changed, 2 insertions, 2 deletions
diff --git a/t/t4100/t-apply-3.patch b/t/t4100/t-apply-3.patch
index 90cdbaa..cac172e 100644
--- a/t/t4100/t-apply-3.patch
+++ b/t/t4100/t-apply-3.patch
@@ -211,7 +211,7 @@ dissimilarity index 82%
-
- /* If this is an exact directory match, we may have
- * directory files following this path. Match on them.
-- * Otherwise, we're at a pach subcomponent, and we need
+- * Otherwise, we're at a patch subcomponent, and we need
- * to try to match again.
- */
- if (mtype == 0)
diff --git a/t/t4100/t-apply-7.patch b/t/t4100/t-apply-7.patch
index 07c6589..fa24305 100644
--- a/t/t4100/t-apply-7.patch
+++ b/t/t4100/t-apply-7.patch
@@ -335,7 +335,7 @@ diff a/ls-tree.c b/ls-tree.c
- /* If this is an exact directory match, we may have
- * directory files following this path. Match on them.
-- * Otherwise, we're at a pach subcomponent, and we need
+- * Otherwise, we're at a patch subcomponent, and we need
- * to try to match again.
+ if (e->directory) {
+ /* If this is a directory, we have the following cases: