Skip to content

Commit 397b296

Browse files
committed
Make update check less verbose
1 parent 325199d commit 397b296

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

update.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
cd "$(dirname "$0")"
33

44
if [ "$1" != "force" ]; then
5-
git fetch
5+
echo "Checking for updates..."
6+
git fetch -q
67
NEW_COMMITS="$(git rev-list HEAD...origin/"$(git branch --show-current)" --count)"
78
if [ "$NEW_COMMITS" -gt "0" ]; then
89
echo "Update available!"

0 commit comments

Comments
 (0)