[composer] Error getting commits for auto-accept: Error: Error fetching commit details for : Failed to execute git {
"exitCode": 128,
"gitCommand": "show",
"stdout": "",
"stderr": "fatal: ambiguous argument '': unknown revision or path not in the working tree.\nUse '--' to separate paths from revisions, like this:\n'git <command> [<revision>...] -- [<file>...]'\n"
}
This is the message in Cursor developer console after commit and returning to IDE.
Steps to Reproduce
Create a change with composer. Commit. Highlights do not clear.
Expected Behavior
IDE highlights clear as expected after commit.
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
I had a look, and it seems like we’ve refactored the git show approach entirely in 2.4. Would you be able to give Nightly a try (Cursor Settings > Beta).
I’d like if this was the case, have you tested? As if Nightly does not allow rollback this way in my case, even triggering “Attempt Update“ or “Check for Updates…“. Also, there’s only “Default“ available in dropdown now.
Hi @Colin, there’s another issue. If there are >1 repositories that are Git repositories added at the same time in one Cursor session, Cursor is not tracking diff properly.