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

ps1 shims for git are reseting $? PowerShell variable #3890

Closed
Demivan opened this issue Mar 23, 2020 · 2 comments
Closed

ps1 shims for git are reseting $? PowerShell variable #3890

Demivan opened this issue Mar 23, 2020 · 2 comments

Comments

@Demivan
Copy link

Demivan commented Mar 23, 2020

Shims for git package are breaking GitLab runner. When runner tries to fetch git repo it checks for exit code of git but shims are resetting $? variable.
So even if git command fails $? will report no error.

@AndrewSav
Copy link

It's not just for git. Many other shims do that too, which is not surprising, since it's the same basic shim...

@rashil2000
Copy link
Member

Merged in develop branch - #4543

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

No branches or pull requests

3 participants