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 fe202ab commit 80b3993Copy full SHA for 80b3993
scripts/git.sh
@@ -151,13 +151,13 @@ getMessage()
151
changes="$(getChanges)"
152
153
if [ "${hide_status}" == "false" ]; then
154
- if [ $(checkEmptySymbol $diff_symbol) == "true" ]; then
+ if [ "$(checkEmptySymbol "${diff_symbol[0]}")" = "true" ]; then
155
output="$repo_name${changes:+ ${changes}} $branch"
156
else
157
output="$repo_name ${diff_symbol[0]} ${changes:+$changes }$branch"
158
fi
159
160
161
output=$(echo "$repo_name $branch")
162
163
output=$(echo "$repo_name $diff_symbol $branch")
0 commit comments