Fix empty diff
sections
This commit is contained in:
parent
3ebc824061
commit
ebc4619853
|
@ -14,6 +14,7 @@ pushd "PortValhalla" > /dev/null
|
||||||
|
|
||||||
git diff -p -R --no-ext-diff --no-color --diff-filter=M \
|
git diff -p -R --no-ext-diff --no-color --diff-filter=M \
|
||||||
| grep -E "^(diff|(old|new) mode)" --color=never \
|
| grep -E "^(diff|(old|new) mode)" --color=never \
|
||||||
|
| sed "/^diff/{ x; d; }; x; /./{ p; z; }; x;" \
|
||||||
| git apply
|
| git apply
|
||||||
|
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
|
|
Loading…
Reference in a new issue