# AI Review does not work on Windows

**URL:** <https://forum.cursor.com/t/ai-review-does-not-work-on-windows/18942>\
**Category:** Bug Reports\
**Created:** [September 26, 2024, 12:21pm UTC](https://forum.cursor.com/t/ai-review-does-not-work-on-windows/18942 "2024-09-26T12:21:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![boni](https://avatars.discourse-cdn.com/v4/letter/b/e5b9ba/32.png) [@boni](https://forum.cursor.com/u/boni)\
**Post date:** [September 26, 2024, 12:21pm UTC](https://forum.cursor.com/t/ai-review-does-not-work-on-windows/18942/1 "2024-09-26T12:21:48Z")

</div>

When I click “Review Diff with Main Branch”, I immediately get the following screen:

![image](https://us1.discourse-cdn.com/cursor1/original/2X/2/2f34ffc45002b05d78278e4f64e4e7cd3d493669.png)

When checking the developer console, this is the error that is thrown:

```auto
workbench.desktop.main.js:2774 Error: Command failed: git diff --no-color $(git merge-base tags-feature-sync tags-feature-sync)
fatal: ambiguous argument '$(git': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'

	at ChildProcess.exithandler (node:child_process:422:12)
	at ChildProcess.emit (node:events:514:28)
	at maybeClose (node:internal/child_process:1105:16)
	at ChildProcess._handle.onexit (node:internal/child_process:305:5)

```

[One user says that using WSL fixes the issue](https://forum.cursor.com/t/ai-review-not-working/2133/13) which suggests that this is a Windows-only problem, however I am not able to use this workaround as I do not have admin rights on my machine. I would really appreciate if this bug was fixed soon as I would love to try out the Review feature.
