From 89b9e4f4ff4c2dfc7680aed1bddac1c2fd45cec3 Mon Sep 17 00:00:00 2001 From: Patrice Fournier Date: Tue, 17 Dec 2024 12:53:51 -0500 Subject: [PATCH] [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. --- scripts/setup-git.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/setup-git.sh b/scripts/setup-git.sh index 54d30219d6..ffdc47dfe9 100755 --- a/scripts/setup-git.sh +++ b/scripts/setup-git.sh @@ -73,7 +73,7 @@ EOF via 'git config --global user.name "$name" EOF -[ -n "$name" ] \ +[ -n "$email" ] \ && cat 1>&2 <