X Tutup
Skip to content

Diff summary/stat mode #123

@andrew

Description

@andrew

git pkgs diff always shows the full list of added/removed/updated packages. A --stat or --summary flag that outputs aggregate counts would be useful for automated PR descriptions and CI output.

Something like:

$ git pkgs diff main..feature --stat
2 added, 1 removed, 3 updated (1 major, 1 minor, 1 patch)

Similar to how git diff --stat gives a compact overview instead of the full diff. The JSON format already has the raw data to compute this, but having it as a built-in output mode saves post-processing for tools that just need a one-liner.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup