Skip to contentSkip to conversation

t2402: fix typo

PATCH In review Johannes Schindelin via GitGitGadget 3 participants 3 messages Nov 3, 2020 – Nov 10, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 t2402: fix typo

From: Johannes Schindelin <[email protected]>

In c57b3367bed (worktree: teach list to annotate locked worktree, 2020-10-11), we introduced a test case that wanted to talk about "worktrees" but talked about "worktress" instead. Let's fix that.

---

    t2402: fix typo
    
    Just a fix for a typo introduced in c57b3367bed (worktree: teach list to
    annotate locked worktree, 2020-10-11).

Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-777%2Fdscho%2Ffix-worktress-typo-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-777/dscho/fix-worktress-typo-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/777

 t/t2402-worktree-list.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
t/t2402-worktree-list.sh +1 -1
index b85bd2655d..795ddca2e4 100755
@@ -61,7 +61,7 @@ test_expect_success '"list" all worktrees --porcelain' '
 	test_cmp expect actual
 '
 
-test_expect_success '"list" all worktress with locked annotation' '
+test_expect_success '"list" all worktrees with locked annotation' '
 	test_when_finished "rm -rf locked unlocked out && git worktree prune" &&
 	git worktree add --detach locked master &&
 	git worktree add --detach unlocked master &&

base-commit: c57b3367bed488469d24a21446731e9e71846ded

Signature · 1 line
gitgitgadget
#1 lore raw
Quoted 6 lines · Johannes Schindelin via GitGitGadget

From: Johannes Schindelin <[email protected]>

In c57b3367bed (worktree: teach list to annotate locked worktree, 2020-10-11), we introduced a test case that wanted to talk about "worktrees" but talked about "worktress" instead. Let's fix that.

Quoted 7 lines

---

    t2402: fix typo
    
    Just a fix for a typo introduced in c57b3367bed (worktree: teach list to
    annotate locked worktree, 2020-10-11).

Oops, how embarrassing.

Thank you Johannes Schindelin for catching this typo and sorry for the late reply.

#2 lore raw

Hi Rafael,

Quoted 11 lines · Rafael Silva
Quoted 10 lines · Johannes Schindelin via GitGitGadget

From: Johannes Schindelin <[email protected]>

In c57b3367bed (worktree: teach list to annotate locked worktree, 2020-10-11), we introduced a test case that wanted to talk about "worktrees" but talked about "worktress" instead. Let's fix that.

---

    t2402: fix typo
Quoted 7 lines
Quoted 3 lines

Just a fix for a typo introduced in c57b3367bed (worktree: teach list to annotate locked worktree, 2020-10-11).

Oops, how embarrassing.

Thank you Johannes Schindelin for catching this typo and sorry for the late reply.

FWIW I don't think that you need to be embarrassed. To me, this patch is a beautiful example that Open Source works, just like other patches that were sent to this list to fix bugs that _I_ introduced.

Thanks,
Dscho