aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlibs/git3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/git b/libs/git
index 1ca2358e..03df3537 100755
--- a/libs/git
+++ b/libs/git
@@ -179,7 +179,8 @@ git_patch() {
cd "$repository_path"
git checkout "$branch" 2> /dev/null > /dev/null
- git am "$patch"
+
+ git am "$patch" || git am --abort
)
}