summaryrefslogtreecommitdiff
path: root/tests/tests/gitworktree
blob: e8f16411067796a0d949e86fec4910c0d8fb144d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash
set -e
. tests/lib

t-archive example 1.0-1
t-git-none

t-dgit --no-rm-on-error clone $p

mv $p maintree
cd maintree
git branch -m maintree-head
git worktree add ../$p
cd ../$p

t-dgit fetch

t-ok