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:
+4
-4
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user