diff options
Diffstat (limited to 'patches/dwmpatch')
| -rwxr-xr-x | patches/dwmpatch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/dwmpatch b/patches/dwmpatch index 1429ec0..12d3def 100755 --- a/patches/dwmpatch +++ b/patches/dwmpatch @@ -14,7 +14,6 @@ apply_patch() { git add *.c *.h *.mk *.1 cd - > /dev/null git commit -m "Applied $1" - git switch -q master return 0 } @@ -29,9 +28,10 @@ done # branch for merged patches git branch -D patched +git checkout -b "patched" for patchfile in *.diff; do apply_patch "$patchfile" || exit + git switch -q "patched" done -git switch -c "patched" || exit echo "Merge patch branches manually now" |
