Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
utf8: add function to align a string into given strbuf
[gitweb.git]
/
t
/
t2026-prune-linked-checkouts.sh
diff --git
a/t/t2026-prune-linked-checkouts.sh
b/t/t2026-prune-linked-checkouts.sh
index e872f02dac37638a64918d1e3f585aacd2f94516..a0f1e3bb800ec6943648eeffb9e7ca84e328fa41 100755
(executable)
--- a/
t/t2026-prune-linked-checkouts.sh
+++ b/
t/t2026-prune-linked-checkouts.sh
@@
-88,7
+88,7
@@
test_expect_success 'not prune recent checkouts' '
test_expect_success 'not prune proper checkouts' '
test_when_finished rm -r .git/worktrees &&
- git
checkout "--to=$PWD/nop" --detach
master &&
+ git
worktree add --detach "$PWD/nop"
master &&
git worktree prune &&
test -d .git/worktrees/nop
'