[Bug] Shell command failed: git diff with ambiguous argument 'origin/HEAD'

Resolved 💬 3 comments Opened Jun 7, 2026 by cocodedk Closed Jun 11, 2026

Bug Description

/security-review without running tests or changing code and write the report in /tmp/ UltraCode
  ⎿  Error: Shell command failed for pattern "!git diff --name-only origin/HEAD...": [stderr]
     fatal: ambiguous argument 'origin/HEAD...': unknown revision or path not in the working tree.
     Use '--' to separate paths from revisions, like this:
     'git  [...] -- [...]'

Environment Info

  • Platform: linux
  • Terminal: ghostty
  • Version: 2.1.165
  • Feedback ID: a5ef0bbb-63db-4945-8f74-db2c077c2566

Errors

[{"error":"Error: Tool Glob not found\n    at MJ4 (/$bunfs/root/src/entrypoints/cli.js:4387:15341)\n    at D_ (/$bunfs/root/src/entrypoints/cli.js:584:21144)\n    at gM (/$bunfs/root/src/entrypoints/cli.js:584:39905)\n    at K7 (/$bunfs/root/src/entrypoints/cli.js:584:50712)\n    at he (/$bunfs/root/src/entrypoints/cli.js:584:87744)\n    at tuH (/$bunfs/root/src/entrypoints/cli.js:584:86710)\n    at ye (/$bunfs/root/src/entrypoints/cli.js:584:86531)\n    at Si (/$bunfs/root/src/entrypoints/cli.js:584:82862)\n    at A$ (/$bunfs/root/src/entrypoints/cli.js:584:6435)\n    at K26 (/$bunfs/root/src/entrypoints/cli.js:577:5415)","timestamp":"2026-06-05T22:26:21.142Z"},{"error":"Error: Tool Glob not found\n    at MJ4 (/$bunfs/root/src/entrypoints/cli.js:4387:15341)\n    at D_ (/$bunfs/root/src/entrypoints/cli.js:584:21144)\n    at gM (/$bunfs/root/src/entrypoints/cli.js:584:39905)\n    at K7 (/$bunfs/root/src/entrypoints/cli.js:584:50712)\n    at he (/$bunfs/root/src/entrypoints/cli.js:584:87744)\n    at tuH (/$bunfs/root/src/entrypoints/cli.js:584:86710)\n    at ye (/$bunfs/root/src/entrypoints/cli.js:584:86531)\n    at Si (/$bunfs/root/src/entrypoints/cli.js:584:82862)\n    at UH (/$bunfs/root/src/entrypoints/cli.js:584:6556)\n    at gH (/$bunfs/root/src/entrypoints/cli.js:584:5012)","timestamp":"2026-06-05T22:26:24.010Z"},{"error":"Error: Tool Glob not found\n    at MJ4 (/$bunfs/root/src/entrypoints/cli.js:4387:15341)\n    at D_ (/$bunfs/root/src/entrypoints/cli.js:584:21144)\n    at gM (/$bunfs/root/src/entrypoints/cli.js:584:39905)\n    at K7 (/$bunfs/root/src/entrypoints/cli.js:584:50712)\n    at he (/$bunfs/root/src/entrypoints/cli.js:584:87744)\n    at tuH (/$bunfs/root/src/entrypoints/cli.js:584:86710)\n    at ye (/$bunfs/root/src/entrypoints/cli.js:584:86531)\n    at Si (/$bunfs/root/src/entrypoints/cli.js:584:82862)\n    at A$ (/$bunfs/root/src/entrypoints/cli.js:584:6435)\n    at K26 (/$bunfs/root/src/entrypoints/cli.js:577:5415)","timestamp":"2026-06-05T22:26:27.429Z"},{"error":"Error: Tool Glob not found\n    at MJ4 (/$bunfs/root/src/entrypoints/cli.js:4387:15341)\n    at D_ (/$bunfs/root/src/entrypoints/cli.js:584:21144)\n    at gM (/$bunfs/root/src/entrypoints/cli.js:584:39905)\n    at K7 (/$bunfs/root/src/entrypoints/cli.js:584:50712)\n    at he (/$bunfs/root/src/entrypoints/cli.js:584:87744)\n    at tuH (/$bunfs/root/src/entrypoints/cli.js:584:86710)\n    at ye (/$bunfs/root/src/entrypoints/cli.js:584:86531)\n    at Si (/$bunfs/root/src/entrypoints/cli.js:584:82862)\n    at A$ (/$bunfs/root/src/entrypoints/cli.js:584:6435)\n    at K26 (/$bunfs/root/src/entrypoints/cli.js:577:5415)","timestamp":"2026-06-05T22:26:30.035Z"},{"error":"Error: Tool Glob not found\n    at MJ4 (/$bunfs/root/src/entrypoints/cli.js:4387:15341)\n    at D_ (/$bunfs/root/src/entrypoints/cli.js:584:21144)\n    at gM (/$bunfs/root/src/entrypoints/cli.js:584:39905)\n    at K7 (/$bunfs/root/src/entrypoints/cli.js:584:50712)\n    at he (/$bunfs/root/src/entrypoints/cli.js:584:87744)\n    at tuH (/$bunfs/root/src/entrypoints/cli.js:584:86710)\n    at ye (/$bunfs/root/src/entrypoints/cli.js:584:86531)\n    at Si (/$bunfs/root/src/entrypoints/cli.js:584:82862)\n    at A$ (/$bunfs/root/src/entrypoints/cli.js:584:6435)\n    at K26 (/$bunfs/root/src/entrypoints/cli.js:577:5415)","timestamp":"2026-06-05T22:26:32.576Z"},{"error":"Error: Tool Glob not found\n    at MJ4 (/$bunfs/root/src/entrypoints/cli.js:4387:15341)\n    at D_ (/$bunfs/root/src/entrypoints/cli.js:584:21144)\n    at gM (/$bunfs/root/src/entrypoints/cli.js:584:39905)\n    at K7 (/$bunfs/root/src/entrypoints/cli.js:584:50712)\n    at he (/$bunfs/root/src/entrypoints/cli.js:584:87744)\n    at tuH (/$bunfs/root/src/entrypoints/cli.js:584:86710)\n    at ye (/$bunfs/root/src/entrypoints/cli.js:584:86531)\n    at Si (/$bunfs/root/src/entrypoints/cli.js:584:82862)\n    at A$ (/$bunfs/root/src/entrypoints/cli.js:584:6435)\n    at K26 (/$bunfs/root/src/entrypoints/cli.js:577:5415)","timestamp":"2026-06-05T22:26:35.979Z"},{"error":"Error: Tool Glob…

Note: Content was truncated.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗