Explorar o código

Disable git diff pagination

rl1987 %!s(int64=5) %!d(string=hai) anos
pai
achega
0befdb8a35
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
 }