[PR #290] Git AI Diff command w/ JSON Output #380

Closed
opened 2026-03-02 04:13:27 +03:00 by kerem · 0 comments
Owner

Original Pull Request: https://github.com/git-ai-project/git-ai/pull/290

State: closed
Merged: Yes


The git-ai diff command is similar (although not API compatible) with git diff. It outputs a unified diff, annotated with AI tool (mostly for debugging). The new --json flag outputs a JSON version of the diff + annotations for use with any dev tools in the ecosystem that need to show AI annotated diffs.

  • fixed a bug where blame wasn't working for arbitrary comparisons (only parent<>child was working before)
  • added --json flag for 3p tools
**Original Pull Request:** https://github.com/git-ai-project/git-ai/pull/290 **State:** closed **Merged:** Yes --- The `git-ai diff` command is similar (although not API compatible) with `git diff`. It outputs a unified diff, annotated with AI tool (mostly for debugging). The new `--json` flag outputs a JSON version of the diff + annotations for use with any dev tools in the ecosystem that need to show AI annotated diffs. - [x] fixed a bug where blame wasn't working for arbitrary comparisons (only parent<>child was working before) - [x] added `--json` flag for 3p tools
kerem 2026-03-02 04:13:27 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/git-ai#380
No description provided.