Skip to content

feat: add /diff command to show git changes in working directory - #19404

Closed
Bartok9 wants to merge 1 commit into
NousResearch:mainfrom
Bartok9:codex/salvage-4839-diff-command
Closed

feat: add /diff command to show git changes in working directory#19404
Bartok9 wants to merge 1 commit into
NousResearch:mainfrom
Bartok9:codex/salvage-4839-diff-command

Conversation

@Bartok9

@Bartok9 Bartok9 commented May 3, 2026

Copy link
Copy Markdown
Contributor

Salvage of #4839 by @SHL0MS — rebased onto current main

Original PR: #4839
Original author: @SHL0MS

Rebase validation:

  • Rebased onto current upstream main.
  • Resolved cli.py command-handler conflict by preserving upstream statusbar output helper and adding /diff dispatch.
  • Ran Python 3.12 bytecode compile for cli.py and hermes_cli/commands.py.

Shows staged and unstaged changes in the current working directory.
/diff shows stat summary + full diff, /diff --stat shows summary only.

Uses git diff directly — no checkpoint system required. Works in any
git repository.

Closes NousResearch#4250
@SHL0MS SHL0MS closed this May 3, 2026
@SHL0MS SHL0MS reopened this May 3, 2026
@alt-glitch alt-glitch added type/feature New feature or request P3 Low — cosmetic, nice to have comp/cli CLI entry point, hermes_cli/, setup wizard labels May 3, 2026
@Bartok9

Bartok9 commented May 5, 2026

Copy link
Copy Markdown
Contributor Author

Changes present in upstream main after rebase. Closing as resolved.

@Bartok9 Bartok9 closed this May 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/cli CLI entry point, hermes_cli/, setup wizard P3 Low — cosmetic, nice to have type/feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants