]> git.scottworley.com Git - pinch/blobdiff - tests/reject-nonancestor.sh
Release 3.0.2
[pinch] / tests / reject-nonancestor.sh
index f8cc2e98694b7cc1afbd5ce0042d7ab8a5ab0676..44f2a82c1c32a66854d962b8e0fb6167e1bb7ab1 100755 (executable)
@@ -13,6 +13,8 @@ python3 ./pinch.py pin "$conf"
   git commit --amend -m 'Amended commit message'
 )
 
+rm -rf "$cache_dir"/*
+
 if python3 ./pinch.py pin "$conf";then
   echo "FAIL: non-ancestor commit should be rejected"
   exit 1