[Scripts] Only show email changed section if it was changed

Show the email section when the email has changed instead of when the
name has changed in the git setup script.
This commit is contained in:
Patrice Fournier 2024-12-17 12:53:51 -05:00 committed by GitHub
parent 05310dae07
commit 89b9e4f4ff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ EOF
via 'git config --global user.name "$name"
EOF
[ -n "$name" ] \
[ -n "$email" ] \
&& cat 1>&2 <<EOF
Your email has been set to: $email