]>
git.scottworley.com Git - pinch/blob - tests/reject-nonancestor2.sh
924d2298d6302bb4b72493fd2a68cbbaec530706
3 . .
/tests
/lib
/test-setup.sh
9 git checkout
-b historical
11 echo Other contents
> other
-file
13 git commit
-m 'Second commit message'
16 python3 .
/pinch.py pin
"$conf"
18 sed -i 's/master/historical/' "$conf"
20 if python3 .
/pinch.py pin
"$conf";then
21 echo "FAIL: non-ancestor commit should be rejected"