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: allow Pseudo Console support to be re-disabled #299

Merged
merged 1 commit into from
Jul 2, 2020

Conversation

dscho
Copy link
Member

@dscho dscho commented Jul 2, 2020

As noted by @satsuper in git-for-windows/git#2729 (comment), when a user enabled support for Pseudo Consoles and then reinstalled to disable it, by mistake the Pseudo Console support would still be enabled.

The reason? We only write /etc/git-bash.config to enable the Pseudo Console support, but not when we disable it (because it is disabled by default, anyway). However, we failed to remove that file upon uninstall/upgrade.

As noted in
git-for-windows/git#2729 (comment),
when a user enabled support for Pseudo Consoles and then reinstalled to
disable it, by mistake the Pseudo Console support would _still_ be
enabled.

The reason? We only write `/etc/git-bash.config` to enable the Pseudo
Console support, but not when we disable it (because it is disabled by
default, anyway). However, we failed to remove that file upon
uninstall/upgrade.

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

dscho commented Jul 2, 2020

I'll just merge this and let the Git Artifacts Pipeline build new installers, then test ;-)

@dscho dscho merged commit 3eec581 into git-for-windows:main Jul 2, 2020
@dscho dscho deleted the allow-disabling-pseudo-console branch July 2, 2020 18:58
dscho added a commit that referenced this pull request Jul 2, 2020
Due to a bug, it was not possible to disable Pseudo Console support
by reinstalling with the checkbox turned off, [which has been
fixed](#299).

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.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