From 5714e683e70f810ffef900a9c22a64835fbfb908 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Thu, 2 May 2024 10:00:03 +0200 Subject: [PATCH] Move the --no-pager argument to avoid error The error with git version 2.45.0.rc0.197.gbae5840b3b-goog on macOS: > fatal: unrecognized argument: --no-pager --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index d888beb..063f9f0 100755 --- a/build.sh +++ b/build.sh @@ -229,7 +229,7 @@ function checkHTMLBuildIsUpToDate { echo -n "Your local branch is $new_commits " [[ $new_commits == "1" ]] && echo -n "commit" || echo -n "commits" echo " behind $origin_url:" - git log --no-pager --oneline HEAD..FETCH_HEAD + git --no-pager log --oneline HEAD..FETCH_HEAD echo echo "To update, run this command:" echo