Compare commits
2 commits
42e63a4a56
...
d1ccf0e1d4
Author | SHA1 | Date | |
---|---|---|---|
ptrcnull | d1ccf0e1d4 | ||
ptrcnull | fbaf178502 |
3
apatch
3
apatch
|
@ -38,9 +38,10 @@ done
|
|||
|
||||
# if file exists, try to apply
|
||||
if [ -e "$patchpath" ]; then
|
||||
git apply --reject --quiet --whitespace=fix "$patchpath" || {
|
||||
git apply --reject --whitespace=fix "$patchpath" || {
|
||||
git status --porcelain | grep '\?\? .*\.rej$' | cut -c4- | while read -r reject; do
|
||||
target="${reject%.rej}"
|
||||
echo "[*] trying to wiggle $target"
|
||||
wiggle --merge --replace "$target" "$reject" || {
|
||||
echo "[!] could not merge $target, fix manually"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue