The check for added and removed lines was faulty, because its expected output used space characters instead of tabs like Git actually outputs. Fix that, and also add --staged to git diff invocations to make the script a bit easier to test locally.
--staged
git diff
Build succeeded. https://fedora.softwarefactory-project.io/zuul/buildset/5fe6c1350ede4704aad8a3d66cc30685
Pull-Request has been merged by oturpe
The check for added and removed lines was faulty, because its expected
output used space characters instead of tabs like Git actually outputs.
Fix that, and also add
--stagedtogit diffinvocations to make thescript a bit easier to test locally.