We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 325199d commit 397b296Copy full SHA for 397b296
update.sh
@@ -2,7 +2,8 @@
2
cd "$(dirname "$0")"
3
4
if [ "$1" != "force" ]; then
5
- git fetch
+ echo "Checking for updates..."
6
+ git fetch -q
7
NEW_COMMITS="$(git rev-list HEAD...origin/"$(git branch --show-current)" --count)"
8
if [ "$NEW_COMMITS" -gt "0" ]; then
9
echo "Update available!"
0 commit comments