Fix empty diff sections

This commit is contained in:
Manuel Thalmann 2024-07-15 19:30:27 +02:00
parent 3ebc824061
commit ebc4619853

View file

@ -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