Switch name and email config
What does this merge request do and why?
After asking for name and email to setup the git config, the script inversely assigns the values. This MR fixes that to properly assign name=name and email=name.
How to set up and validate locally
Follow the steps to setup gdk in a box here: https://gitlab.com/gitlab-org/gitlab-development-kit/-/blob/main/doc/gdk_in_a_box.md#standard-setup
At step #5 (closed) after running curl "https://gitlab.com/gitlab-org/gitlab-development-kit/-/raw/main/support/gdk-in-a-box/setup-git" | bash
, the script should ask for name and email.
Once you finish setup, from inside the VS Code gdk in a box window's terminal check git config --list
and verify name and email are set properly.
Impacted categories
The following categories relate to this merge request:
-
gdk-reliability - e.g. When a GDK action fails to complete. -
gdk-usability - e.g. Improvements or suggestions around how the GDK functions. -
gdk-performance - e.g. When a GDK action is slow or times out.
Merge request checklist
-
This change is backward compatible. If not, please include steps to communicate to our users. -
Tests added for new functionality. If not, please raise an issue to follow-up. -
Documentation added/updated, if needed. -
Announcement added, if change is notable. -
gdk doctor
test added, if needed. -
Add the ~highlight
label if this MR should be included in theCHANGELOG.md
.
Edited by Missy Davies