]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Fix spelling errors in test commands
authorElijah Newren <newren@gmail.com>
Tue, 5 Nov 2019 17:07:27 +0000 (17:07 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sun, 10 Nov 2019 07:00:54 +0000 (16:00 +0900)
Apply several spelling fixes that technically change what the tests are
executing, but do so in a way that is not tested and does not affect results
(e.g. modify the commit message to remove a typo, remove spelling mistakes
from refnames, etc.)

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>
t/t3210-pack-refs.sh
t/t3905-stash-include-untracked.sh
t/t4100/t-apply-1.patch
t/t4100/t-apply-5.patch
t/t5545-push-options.sh
t/t6036-recursive-corner-cases.sh
t/t7030-verify-tag.sh

index 9ea5fa4fd246374d6c49dfc35c12cfdbd84957c2..f41b2afb9964b57a0010a80af7412a88678d6e25 100755 (executable)
@@ -240,7 +240,7 @@ test_expect_success 'retry acquiring packed-refs.lock' '
 
 test_expect_success SYMLINKS 'pack symlinked packed-refs' '
        # First make sure that symlinking works when reading:
-       git update-ref refs/heads/loosy refs/heads/master &&
+       git update-ref refs/heads/lossy refs/heads/master &&
        git for-each-ref >all-refs-before &&
        mv .git/packed-refs .git/my-deviant-packed-refs &&
        ln -s my-deviant-packed-refs .git/packed-refs &&
index 29ca76f2fbea9275462339ce2f308b6d6920aac5..f075c7f1f3165adc256e0018d26c34e8f7823b96 100755 (executable)
@@ -277,8 +277,8 @@ test_expect_success 'stash -u -- <ignored> leaves ignored file alone' '
        test_path_is_file ignored.d/bar
 '
 
-test_expect_success 'stash -u -- <non-existant> shows no changes when there are none' '
-       git stash push -u -- non-existant >actual &&
+test_expect_success 'stash -u -- <non-existent> shows no changes when there are none' '
+       git stash push -u -- non-existent >actual &&
        echo "No local changes to save" >expect &&
        test_i18ncmp expect actual
 '
index 90ab54f0f586c87ace077be87fba396c8f2781a0..43394f828561756d10dfd95a877bd460975e6d04 100644 (file)
@@ -75,8 +75,8 @@ diff --git a/Documentation/git.txt b/Documentation/git.txt
 +link:git-ssh-pull.html[git-ssh-pull]::
        Pulls from a remote repository over ssh connection
  
- Interogators:
-@@ -156,8 +156,8 @@ Interogators:
+ Interrogators:
+@@ -156,8 +156,8 @@ Interrogators:
  link:git-diff-helper.html[git-diff-helper]::
        Generates patch format output for git-diff-*
  
index 5f6ddc105950eac20bcacb7987fabff015320ee3..57ec79d8879a13e08a79d9eaef8e1fcad1468704 100644 (file)
@@ -185,8 +185,8 @@ diff a/Documentation/git.txt b/Documentation/git.txt
 +link:git-ssh-pull.html[git-ssh-pull]::
        Pulls from a remote repository over ssh connection
  
- Interogators:
-@@ -156,8 +156,8 @@ Interogators:
+ Interrogators:
+@@ -156,8 +156,8 @@ Interrogators:
  link:git-diff-helper.html[git-diff-helper]::
        Generates patch format output for git-diff-*
  
index 04b34c4de19f858c530e6944822d778c26391a72..38e6f7340e74474b6899eff3543e7af31f1bf0cf 100755 (executable)
@@ -115,7 +115,7 @@ test_expect_success 'push options and submodules' '
 
        git -C parent submodule add ../upstream workbench &&
        git -C parent/workbench remote add up ../../upstream &&
-       git -C parent commit -m "add submoule" &&
+       git -C parent commit -m "add submodule" &&
 
        test_commit -C parent/workbench two &&
        git -C parent add workbench &&
index 7fddcc8c73c9cf3d2f43f2c7b1310b02dc06b6e7..7d73afdcdaafea81ed09b163ea425a9c881a8a9f 100755 (executable)
@@ -1532,7 +1532,7 @@ test_expect_success 'setup nested conflicts' '
                mv -f b_R1 b &&
                mv -f a_R1 a &&
                git add b a &&
-               test_tick && git commit -m "verson R1 of files" &&
+               test_tick && git commit -m "version R1 of files" &&
                git tag R1 &&
 
                # Create first merge on left side
@@ -1696,7 +1696,7 @@ test_expect_success 'setup virtual merge base with nested conflicts' '
                git checkout R &&
                echo right >>content &&
                git add content &&
-               test_tick && git commit -m "verson R1 of content" &&
+               test_tick && git commit -m "version R1 of content" &&
                git tag R1 &&
 
                # Create L2
index 041e319e79aacb74ea9ec8fc20a38cc222961b6e..8f077bea6095a6fea8d92ac8a83b11f5d865cdf6 100755 (executable)
@@ -44,8 +44,8 @@ test_expect_success GPG 'create signed tags' '
 test_expect_success GPGSM 'create signed tags x509 ' '
        test_config gpg.format x509 &&
        test_config user.signingkey $GIT_COMMITTER_EMAIL &&
-       echo 9 >file && test_tick && git commit -a -m "nineth gpgsm-signed" &&
-       git tag -s -m nineth nineth-signed-x509
+       echo 9 >file && test_tick && git commit -a -m "ninth gpgsm-signed" &&
+       git tag -s -m ninth ninth-signed-x509
 '
 
 test_expect_success GPG 'verify and show signatures' '
@@ -80,10 +80,10 @@ test_expect_success GPG 'verify and show signatures' '
 '
 
 test_expect_success GPGSM 'verify and show signatures x509' '
-       git verify-tag nineth-signed-x509 2>actual &&
+       git verify-tag ninth-signed-x509 2>actual &&
        grep "Good signature from" actual &&
        ! grep "BAD signature from" actual &&
-       echo nineth-signed-x509 OK
+       echo ninth-signed-x509 OK
 '
 
 test_expect_success GPG 'detect fudged signature' '
@@ -127,10 +127,10 @@ test_expect_success GPG 'verify signatures with --raw' '
 '
 
 test_expect_success GPGSM 'verify signatures with --raw x509' '
-       git verify-tag --raw nineth-signed-x509 2>actual &&
+       git verify-tag --raw ninth-signed-x509 2>actual &&
        grep "GOODSIG" actual &&
        ! grep "BADSIG" actual &&
-       echo nineth-signed-x509 OK
+       echo ninth-signed-x509 OK
 '
 
 test_expect_success GPG 'verify multiple tags' '
@@ -147,7 +147,7 @@ test_expect_success GPG 'verify multiple tags' '
 '
 
 test_expect_success GPGSM 'verify multiple tags x509' '
-       tags="seventh-signed nineth-signed-x509" &&
+       tags="seventh-signed ninth-signed-x509" &&
        for i in $tags
        do
                git verify-tag -v --raw $i || return 1