summaryrefslogtreecommitdiff
path: root/tests/tests/gitworktree
blob: e675a0aadbeb921ee6d658eda664757539fe8eff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/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-dgit setup-new-tree

echo hi >>modification
git add modification
git commit -m 'want this'
t-dgit -wgf quilt-fixup

t-dgit -wgf --quilt=nofix build

t-dgit -wgf push

t-ok