Skip to content

💄 Group command output into uv-style sections#3

Open
ThatXliner wants to merge 2 commits into
mainfrom
summary
Open

💄 Group command output into uv-style sections#3
ThatXliner wants to merge 2 commits into
mainfrom
summary

Conversation

@ThatXliner

Copy link
Copy Markdown
Owner

Summary

Replaces verbose per-file output with grouped, diff-like sections across new, rm, and prune commands.

git worm new now shows:

  Copied (3)
   + .env
   + .gitignore
   + Makefile
  COW (2)
   + .venv
   + target

git worm rm now shows:

  Removed (2)
   - feat-login
   - bugfix/leak

git worm prune now shows:

  Pruned (3)
   - stale ref line
   - feat-login

No longer gated behind -v -- grouped sections are the default final output.

Test plan

  • uv run pytest passes
  • git worm new some-branch shows grouped sections
  • git worm rm some-branch shows Removed (1)
  • git worm prune shows Pruned (N) or nothing

ThatXliner added 2 commits May 4, 2026 22:32
Replaces verbose per-file output with grouped sections (e.g. Copied (3),
COW (2), Ignored (1)) across new, rm, and prune commands. Matches uv's
pattern of showing a clean sectioned summary after the spinner.
…cy\n\nUse rel.as_posix() instead of str(rel) so returned path names always use forward\nslashes. This fixes test_copy_ignored_files_matches_relative_paths failing on Windows\nCI where Path.relative_to() produces backslash separators.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant