projects
/
hvutilities.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
735ac89
)
hvsp: add abort action
author
Hugo Villeneuve
<hugo@hugovil.com>
Thu, 19 Jan 2023 16:38:10 +0000
(11:38 -0500)
committer
Hugo Villeneuve
<hugo@hugovil.com>
Thu, 1 Jun 2023 19:16:05 +0000
(15:16 -0400)
scripts/kernel-send-patches.sh
patch
|
blob
|
history
diff --git
a/scripts/kernel-send-patches.sh
b/scripts/kernel-send-patches.sh
index
192cf91
..
4037d61
100755
(executable)
--- a/
scripts/kernel-send-patches.sh
+++ b/
scripts/kernel-send-patches.sh
@@
-21,8
+21,15
@@
catch()
echo "Error $1 occurred"
if [ x"${orig_branch}" != x"" ]; then
+ if git status | grep -q "currently cherry-picking commit"; then
+ git cherry-pick --abort
+ fi
+
+ if git status | grep -q "currently editing a commit while rebasing branch"; then
+ git rebase --abort
+ fi
+
git checkout ${orig_branch}
- git rebase --abort
fi
fi