git_config.sh: quote name and email so spaces are kept

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-29 14:59:00 -04:00
co-authored by Claude Opus 5.5
parent bce8bae064
commit 32a2963462
+4 -4
View File
@@ -27,8 +27,8 @@ if [ "${location}" = "g" ];then
echo "Setup Cancelled...re-run to start over" echo "Setup Cancelled...re-run to start over"
exit 0; exit 0;
else else
git config --global user.email ${email} git config --global user.email "${email}"
git config --global user.name ${name} git config --global user.name "${name}"
echo echo
echo "Saved global config" echo "Saved global config"
exit 0; exit 0;
@@ -47,8 +47,8 @@ elif [ "${location}" = "l" ];then
echo "Setup Cancelled...re-run to start over" echo "Setup Cancelled...re-run to start over"
exit 0; exit 0;
else else
git config user.email ${email} git config user.email "${email}"
git config user.name ${name} git config user.name "${name}"
echo echo
echo "Saved local config" echo "Saved local config"
exit 0; exit 0;