]>
git.scottworley.com Git - pinch/blob - tests/reject-nonancestor.sh
10 echo Contents
> test-file
12 git commit
-m 'Commit message'
18 git_repo = file://$repo
22 python3 .
/pinch.py pin
"$conf"
26 echo Other contents
> other
-file
28 git commit
--amend -m 'Amended commit message'
31 if python3 .
/pinch.py pin
"$conf";then
32 echo "FAIL: non-ancestor commit should be rejected"
38 rm -rf "$repo_dir" "$conf"