Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installer: sanitize GIT_* environment variables #529

Merged

Conversation

dscho
Copy link
Member

@dscho dscho commented Sep 12, 2023

Partially addresses git-for-windows/git#4604.

These variables, if set by the user, should not be heeded by the Git for
Windows installer.

Partially addresses git-for-windows/git#4604.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Copy link

@jeffhostetler jeffhostetler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dscho dscho merged commit 65c5c15 into git-for-windows:main Sep 21, 2023
12 checks passed
@dscho dscho deleted the sanitize-environment-variables-in-installer branch September 21, 2023 11:34
@dscho
Copy link
Member Author

dscho commented Sep 21, 2023

/add relnote bug Git for Windows's installer is no longer confused by global GIT_* environment variables.

The workflow run was started

github-actions bot pushed a commit that referenced this pull request Sep 21, 2023
Git for Windows's installer [is no longer confused by global `GIT_*`
environment
variables](#529).

Signed-off-by: gitforwindowshelper[bot] <gitforwindowshelper-bot@users.noreply.github.com>
csware added a commit to TortoiseGit/TortoiseGit that referenced this pull request Nov 22, 2023
Prevent passing environment variables to git.exe that are currently unsupported in TortoiseGit/libgit2 to prevent inconsistencies (cf. issue #4029 and issue #3852)

cf. git-for-windows/build-extra#529

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants