Skip to content

Commit

Permalink
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 committed Sep 24, 2024
1 parent c402ce1 commit 57824e9
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 57824e9

Please sign in to comment.