Skip to content

Commit 1598f3e

Browse files
committed
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
1 parent 06326f7 commit 1598f3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ function checkHTMLBuildIsUpToDate {
229229
echo -n "Your local branch is $new_commits "
230230
[[ $new_commits == "1" ]] && echo -n "commit" || echo -n "commits"
231231
echo " behind $origin_url:"
232-
git log --no-pager --oneline HEAD..FETCH_HEAD
232+
git --no-pager log --oneline HEAD..FETCH_HEAD
233233
echo
234234
echo "To update, run this command:"
235235
echo

0 commit comments

Comments
 (0)