Revert/ Stage Block Button Not Working in Source Control Diff View

When comparing files in the source control diff view, the “Revert Block” button & the “Stage Block” button functionality is not working as expected. This feature works properly in VS Code but is non-functional in Cursor.

Steps to Reproduce:

  1. Make changes to a file in your project
  2. Open the source control/git panel
  3. View the diff of the changed file
  4. Try to use the “Revert Block” button on a specific change block

Expected Behavior:
Multiple revert/stage buttons should be available depending on the number of changes in the file.
The selected block of changes should revert to its previous state, similar to VS Code’s functionality.

Actual Behavior:
The revert block/ stage block button does not perform any action when clicked.

Screenshot:

Environment:
Version: 0.44.11
VSCode Version: 1.93.1
Date: 2025-01-03T07:59:06.361Z
Electron: 30.5.1
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: 12.4.254.20-electron.0
OS: Darwin arm64 23.6.0

:no_entry_sign: This issue stops me from using Cursor