diff --git a/patches/apply.sh b/patches/apply.sh index 09b2ea8c..cd1cb078 100755 --- a/patches/apply.sh +++ b/patches/apply.sh @@ -4,6 +4,7 @@ if [ -d ".git" ] ; then git config user.email > /dev/null || git config user.email "git-am@invalid" git config user.name > /dev/null || git config user.name "no name" git config --local commit.gpgsign false + git am --abort 2> /dev/null git checkout . exec git am "$@" fi