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 3f319c6 commit 8a5abbbCopy full SHA for 8a5abbb
1 file changed
bin/sparkdock.macos
@@ -45,8 +45,11 @@ check_for_updates() {
45
REMOTE=$(git rev-parse origin/${DEFAULT_BRANCH})
46
47
if [ "$LOCAL" != "$REMOTE" ]; then
48
- echo "Updates available:"
49
- git --no-pager log --oneline HEAD..origin/${DEFAULT_BRANCH}
+ DIFF=$(git --no-pager log --oneline HEAD..origin/${DEFAULT_BRANCH})
+ if [ -n "$DIFF" ]; then
50
+ echo "Updates available:"
51
+ echo "$DIFF"
52
+ fi
53
return 0
54
fi
55
return 1
0 commit comments