Skip to content

Git Diff always returns no changes on WSL #2822

Closed as not planned
Closed as not planned

Description

@KoceilaDRK

Before submitting your bug report

Relevant environment info

- OS: Windows 23H2 on WSL 2.3.24.0
- Continue version: v0.8.55
- IDE: VSCode 1.95.1

Description

When I'm trying to use the @diff to try to add the git diff context, it alway return empty.

here's the content of the context @Git diff :
Git shows no current changes.

doing the same command on a terminal shows the diff.

similar issue : ##1205

To reproduce

  1. Open a project on windows with WSL.
  2. Make some change of the code
  3. Open Continue and input @git diff

Log output

nothing.

Activity

  1. self-assigned this
    on Nov 6, 2024
  2. added
    area:context-providers
    ide:vscode
    kind:bug
    priority:medium
    on Nov 6, 2024
  3. vovacha commented on Nov 12, 2024

    @vovacha

    Same.

    - OS: MacOS Sequoia 15.1
    - Continue version: v0.8.56
    - IDE: VSCode 1.95.1
    
  4. sestinj commented on Nov 27, 2024

    @sestinj
    Contributor

    Thanks for the report! Rather than trying to patch this particular error, we're going to take a step back and try to solve this and many of the other WSL problems at once in December. I'll report back when we have an update!

  5. geiseri commented on Feb 3, 2025

    @geiseri

    I see this same behavior, but I am using a remote vscode. Could it be that it is getting confused by a file location?

  6. roryeckel commented on Mar 17, 2025

    @roryeckel

    Agreed with the above, I'm using a VS Code remote as well and experiencing the issue of always "Git shows no current changes.". I'm using the latest Continue preview release 1.1.12 on Windows 11.

  7. added
    os:windows
    on May 7, 2025
  8. HRworksArk commented on Jul 7, 2025

    @HRworksArk

    I am facing this problem aswell. Continue 1.1.56

  9. vowless-dev commented on Aug 15, 2025

    @vowless-dev

    Same issue on Continue 1.1.77

  10. NgrNxk commented on Sep 23, 2025

    @NgrNxk

    I have this issue as well: continue 1.2.4 and WSL-Version: 2.5.9.0. Perhaps December this year will do? 🙈

  11. TecFancy commented on Nov 19, 2025

    @TecFancy

    Thanks for the report! Rather than trying to patch this particular error, we're going to take a step back and try to solve this and many of the other WSL problems at once in December. I'll report back when we have an update!

    It's already been a year, and this issue still hasn't been fixed ;-)

  12. github-actions commented on Feb 18, 2026

    @github-actions
    Contributor

    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.

  13. github-actions commented on Mar 1, 2026

    @github-actions
    Contributor

    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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:context-providerside:vscodekind:bugos:windowspriority:mediumstale

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions