Disable git diff pagination

This commit is contained in:
rl1987 2019-03-08 18:50:49 +02:00
parent 537692c1e3
commit 0befdb8a35

View File

@ -31,7 +31,7 @@ check_for_script_update() {
if ! git diff ORIG_HEAD HEAD --exit-code -- "$fullpath" >/dev/null
then
echo "ATTENTION: $1 has changed:"
git diff ORIG_HEAD HEAD -- "$fullpath"
git --no-pager diff ORIG_HEAD HEAD -- "$fullpath"
fi
}