Skip to content

add change context to staged, unstaged, and diff exports#28

Merged
hyle merged 1 commit intomainfrom
add-change-context-to-git-exports
Mar 16, 2026
Merged

add change context to staged, unstaged, and diff exports#28
hyle merged 1 commit intomainfrom
add-change-context-to-git-exports

Conversation

@hyle
Copy link
Copy Markdown
Owner

@hyle hyle commented Mar 16, 2026

Summary

Add a Change Context section to markdown exports produced with --staged, --unstaged, and --diff.

This gives the export a compact, grounded summary of what changed before the file contents begin.

Changes

Extend Git-selected path metadata to retain:

  • change type (A, M, R)
  • previous path for renames

Switch Git change-selection commands to --name-status so change status is preserved

Render a ## Change Context section for:
--staged
--unstaged
--diff

@hyle hyle self-assigned this Mar 16, 2026
@hyle hyle added the enhancement New feature or request label Mar 16, 2026
@hyle hyle merged commit a85e697 into main Mar 16, 2026
@hyle hyle deleted the add-change-context-to-git-exports branch March 16, 2026 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant