[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:
parent
05310dae07
commit
89b9e4f4ff
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue