tests: worktree: retrofit "checkout --to" tests for "worktree add"
commitf194b1ef6ee81788a45053fa6f7409233fc54276
authorEric Sunshine <sunshine@sunshineco.com>
Mon, 6 Jul 2015 17:30:54 +0000 (6 13:30 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 6 Jul 2015 18:07:47 +0000 (6 11:07 -0700)
treeb342704c6d1ea4b0309718c6f21f7cf7b6839199
parentcbdf60fa183e3a2330849046846b400ef4a99c3b
tests: worktree: retrofit "checkout --to" tests for "worktree add"

With the introduction of "git worktree add", "git checkout --to" is
slated for removal. Therefore, retrofit linked worktree creation tests
to use "git worktree add" instead.

(The test to check exclusivity of "checkout --to" and "checkout <paths>"
is dropped altogether since it becomes meaningless with retirement of
"checkout --to".)

Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t2025-worktree-add.sh [moved from t/t2025-checkout-to.sh with 59% similarity]
t/t2026-prune-linked-checkouts.sh
t/t7410-submodule-checkout-to.sh