Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-08-28 00:33:42 +0300
committerJunio C Hamano <gitster@pobox.com>2018-08-28 00:33:42 +0300
commita988ce9a580bb1cae6fbeead69eff53b113a373c (patch)
tree2e48f0c6aeb8f458b9d8dc5702d3d7edf4698e06 /t
parentd89db6f4c3fceea7bc9e66823c7a04920e95ac1d (diff)
parent371979c21745a8be34a556e663d71e3a984ff4ce (diff)
Merge branch 'ep/worktree-quiet-option'
"git worktree" command learned "--quiet" option to make it less verbose. * ep/worktree-quiet-option: worktree: add --quiet option
Diffstat (limited to 't')
-rwxr-xr-xt/t2025-worktree-add.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/t/t2025-worktree-add.sh b/t/t2025-worktree-add.sh
index 166942c1bd..07d292317c 100755
--- a/t/t2025-worktree-add.sh
+++ b/t/t2025-worktree-add.sh
@@ -252,6 +252,11 @@ test_expect_success 'add -B' '
test_cmp_rev master^ poodle
'
+test_expect_success 'add --quiet' '
+ git worktree add --quiet another-worktree master 2>actual &&
+ test_must_be_empty actual
+'
+
test_expect_success 'local clone from linked checkout' '
git clone --local here here-clone &&
( cd here-clone && git fsck )