Skip to content

[Enhancement] GUI does not display git stderr when repository ownership is dubious #1326

@gadfly3173

Description

@gadfly3173

When accessing a Git repository located inside WSL2 (e.g., via \\wsl.localhost\Ubuntu-24.04\home\...\myrepo) using Git on Windows, Git may output an error like:

fatal: detected dubious ownership in repository at '//wsl.localhost/Ubuntu-24.04/home/gadfly/Documents/sourcegit'
To add an exception for this directory, call:

	git config --global --add safe.directory '%(prefix)///wsl.localhost/Ubuntu-24.04/home/gadfly/Documents/sourcegit'

However, the GUI client does not display this stderr output , leaving users confused about why Git operations fail.

Suggested Fix

Show the stderr content from QueryLocalChanges.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions