fix: stop paging git diff output when running omarchy-update (#3959)

* fix: stop paging git diff output when running omarchy-update

* Keep option list similar between the two

---------

Co-authored-by: David Heinemeier Hansson <david@hey.com>
This commit is contained in:
Fredrik Mikal Wold 2025-12-22 22:56:02 +01:00 committed by GitHub
parent c59089e9f3
commit 643cf35448
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,4 +5,4 @@ set -e
echo -e "\e[32mUpdate Omarchy\e[0m"
git -C $OMARCHY_PATH pull --autostash
git -C $OMARCHY_PATH diff --check || git -C $OMARCHY_PATH reset --merge
git -C $OMARCHY_PATH --no-pager diff --check || git -C $OMARCHY_PATH reset --merge