summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2018-08-27 14:33:42 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-08-27 14:33:42 -0700
commita988ce9a580bb1cae6fbeead69eff53b113a373c (patch)
tree2e48f0c6aeb8f458b9d8dc5702d3d7edf4698e06 /t
parentMerge branch 'sm/branch-sort-config' (diff)
parentworktree: add --quiet option (diff)
downloadtgif-a988ce9a580bb1cae6fbeead69eff53b113a373c.tar.xz
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 )