Git context is broken

Describe the Bug

Using the github context (e.g. @Branch (Diff with Main Branch) ) is broken. Cursor either

  • complains there’s nothing in the diff
  • only reads the first file in the diff
  • tries to run git commands (more recently)

Can this be fixed

Steps to Reproduce

  • make any changes in your branch
  • in cursor chat, add context > git > (anything there)
  • watch the model struggle

Expected Behavior

Cursor can read the diff and respond to your prompt (e.g. provide meaningful feedback on the diff, summarise for PR description etc)

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.4.5 (user setup)
VSCode Version: 1.99.3
Commit: af58d92614edb1f72bdd756615d131bf8dfa5290
Date: 2025-08-13T02:08:56.371Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.26100

Does this stop you from using Cursor

Yes - Cursor is unusable

hi @_james which model did you use when you had issue with the git context?

The chat GPT5 models seem to ignore the diff completely; and go on a thinking spree.

Have tried again this morning with a prompt “can you review the diff and tell me what files have changed @BranchBranch (Diff with Main Branch)" using auto selection and got mixed results

  • Only pick up a few files in directories listed in .cursorignore
  • Correctly identified the whole diff, including those in .cursorignore

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.