Skip to content

Commit

Permalink
Move the --no-pager argument to avoid error
Browse files Browse the repository at this point in the history
The error with git version 2.45.0.rc0.197.gbae5840b3b-goog on macOS:

> fatal: unrecognized argument: --no-pager
  • Loading branch information
foolip committed May 2, 2024
1 parent 06326f7 commit 1598f3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1598f3e

Please sign in to comment.