Skip to content

Commit

Permalink
[Scripts] Only show email changed section if it was changed
Browse files Browse the repository at this point in the history
Show the email section when the email has changed instead of when the
name has changed in the git setup script.
  • Loading branch information
pfournier authored Dec 17, 2024
1 parent 05310da commit 89b9e4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/setup-git.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 89b9e4f

Please sign in to comment.