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

diagnose: avoid poluting stderr stream in Git diagnostic #1590

Merged
merged 1 commit into from Apr 17, 2024

Conversation

mjcheetham
Copy link
Collaborator

Avoid poluting the standard error stream with a 'fatal' Git error message during the Git diagnostic run as part of the diagnose command.

When checking if we are inside of a Git repo we should be using an explicit check for IGit::IsInsideRepository rather than trying to get the current repo path and checking for null.

@mjcheetham mjcheetham added the bug A bug in Git Credential Manager label Apr 17, 2024
Avoid poluting the standard error stream with a 'fatal' Git error
message during the Git diagnostic run as part of the `diagnose` command.

When checking if we are inside of a Git repo we should be using an
explicit check for `IGit::IsInsideRepository` rather than trying to get
the current repo path and checking for null.
@mjcheetham mjcheetham merged commit 8f00c5e into git-ecosystem:main Apr 17, 2024
6 checks passed
@mjcheetham mjcheetham deleted the fix-git-diag branch April 17, 2024 17:25
mjcheetham added a commit that referenced this pull request Apr 18, 2024
**Changes:**

- Update MSAL and Avalonia (#1591)
- Fix issue with diagnostic messages (#1590)
- Address CVE-2024-32478 (this issue only affected the Linux Debian
package)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug in Git Credential Manager
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants