summaryrefslogtreecommitdiff
path: root/patches/dwmpatch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/dwmpatch')
-rwxr-xr-xpatches/dwmpatch6
1 files changed, 4 insertions, 2 deletions
diff --git a/patches/dwmpatch b/patches/dwmpatch
index df27781..59060c4 100755
--- a/patches/dwmpatch
+++ b/patches/dwmpatch
@@ -26,12 +26,14 @@ branches=$(git for-each-ref --format='%(refname:short)' refs/heads/ | grep diff)
for branch in $branches; do
git branch -D $branch || exit
done
+# branc with merged patches
+git branch -D patched
-git checkout -b "patched" || git switch "patched"
git status
for patchfile in *.diff; do
+ git switch -q "patches"
apply_patch "$patchfile" || (git switch "patches" && exit)
- git switch -q "patched"
done
+git checkout -b "patched"
echo "Merge patch branches manually now"