3 test_description
='unrelated orphan branches update okay'
9 test_expect_success
'setup' '
10 git config rerere.enabled 1 &&
11 git checkout --orphan t/branch &&
12 tg create --no-deps --topmsg branch HEAD &&
13 git checkout --orphan master &&
14 git read-tree --empty &&
19 git checkout --orphan master2 &&
20 git read-tree --empty &&
27 test_expect_success LASTOK
'add dependencies' '
28 tg checkout -f t/branch &&
30 tg depend add --no-update master master2
33 test_expect_success LASTOK
'create resolution' '
34 test_must_fail tg update t/branch &&
36 echo new two >> new &&
38 git commit -m resolved &&
42 test_expect_success LASTOK
'update' '