You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
@Git Diff context provider fails in WSL (Remote) - "Git shows no current changes" #9136
OS: Windows 11 (Host) / Ubuntu 24.04 (WSL2)
Continue version: v1.2.12
IDE version: VS Code (Latest) - Remote WSL Extension
Model: Local Ollama (Qwen 3.0 Coder 30B)
Agent configuration: Local config.yaml using Ollama provider
Description
I am running VS Code in WSL (Windows Subsystem for Linux). The repository is located inside the WSL filesystem (e.g., ~/repos/templates/...).
The Problem: When I use the @git Diff context provider in the chat, it returns "Git shows no current changes", even though running git diff in the VS Code integrated terminal clearly shows modified files.
I suspect the extension is attempting to execute git diff from the incorrect Working Directory (possibly the Workspace root vs the Git root) or is failing to resolve the Linux path correctly (confusing the Windows \wsl$... path with the Linux /home/user/... path).
To reproduce
Open a repository located in WSL using "VS Code Remote - WSL".
Make a change to any file.
Verify git diff shows the change in the integrated terminal.
This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.
This issue was closed because it wasn't updated for 10 days after being marked stale. If it's still important, please reopen + comment and we'll gladly take another look!
Activity
continue commentedon Dec 12, 2025
Related/duplicate issues:
sdk.ide.Diff()returns nothing even whengit diff --cacheddoes #1285 -sdk.ide.Diff()returns nothing even whengit diff --cacheddoes (closed)github-actions commentedon Mar 13, 2026
This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.
github-actions commentedon Mar 24, 2026
This issue was closed because it wasn't updated for 10 days after being marked stale. If it's still important, please reopen + comment and we'll gladly take another look!