Browse Source

Disable git diff pagination

rl1987 5 years ago
parent
commit
0befdb8a35
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scripts/git/post-merge.git-hook

+ 1 - 1
scripts/git/post-merge.git-hook

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