chiark / gitweb /
dgit.1: drop remark about sbuild not building arch-independent
[dgit.git] / tests / tests / gitworktree
1 #!/bin/bash
2 set -e
3 . tests/lib
4
5 t-archive example 1.0-1
6 t-git-none
7
8 t-dgit --no-rm-on-error clone $p
9
10 mv $p maintree
11 cd maintree
12 git branch -m maintree-head
13 git worktree add ../$p
14 cd ../$p
15
16 t-dgit fetch
17
18 t-dgit setup-new-tree
19
20 echo hi >>modification
21 git add modification
22 git commit -m 'want this'
23 t-dgit -wgf quilt-fixup
24
25 t-dgit -wgf --quilt=nofix build
26
27 t-dgit -wgf push
28
29 t-ok