tests: rename work-tree tests to *work-tree*
commit5549029427f93219f22f99f4d1f832a6ab484a1c
authorMichael J Gruber <git@drmicha.warpmail.net>
Sat, 20 Feb 2016 16:18:41 +0000 (20 17:18 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sun, 21 Feb 2016 07:37:29 +0000 (20 23:37 -0800)
tree39beb82ddc3729ed1d3ccb2e8a46745bb0ddcb84
parent24358560c3c0ab51c9ef8178d99f46711716f6c0
tests: rename work-tree tests to *work-tree*

"Work tree" or "working tree" is the name of a checked out tree,
"worktree" the name of the command which manages several working trees.
The naming of tests mixes these two, currently:

$ls t/*worktree*
t/t1501-worktree.sh
t/t1509-root-worktree.sh
t/t2025-worktree-add.sh
t/t2026-worktree-prune.sh
t/t2027-worktree-list.sh
t/t2104-update-index-skip-worktree.sh
t/t3320-notes-merge-worktrees.sh
t/t7011-skip-worktree-reading.sh
t/t7012-skip-worktree-writing.sh
t/t7409-submodule-detached-worktree.sh

$grep -l "git worktree" t/*.sh
t/t0002-gitfile.sh
t/t1400-update-ref.sh
t/t2025-worktree-add.sh
t/t2026-worktree-prune.sh
t/t2027-worktree-list.sh
t/t3320-notes-merge-worktrees.sh
t/t7410-submodule-checkout-to.sh

Rename t1501, t1509 and t7409 to make it clear on first glance that they
test work tree related behavior, rather than the worktree command.

t2104, t7011 and t7012 are about the "skip-worktree" flag so that their
name should remain unchanged.

Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1501-work-tree.sh [moved from t/t1501-worktree.sh with 100% similarity]
t/t1509-root-work-tree.sh [moved from t/t1509-root-worktree.sh with 100% similarity]
t/t7409-submodule-detached-work-tree.sh [moved from t/t7409-submodule-detached-worktree.sh with 100% similarity]