Skip to content

git stash show: show stat only #1867

@franciscolourenco

Description

@franciscolourenco

In the cli, by default, git stash show shows only the the stat of the stash:

$ git stash show
 .env.local.example                    |   1 +
 package-lock.json                     | 548 +++++++++++++++++++---------------
 package.json                          |   7 +-
 src/admin/components/views/Login.scss |  29 ++
 src/admin/components/views/Login.tsx  |  91 ++++++
 src/collections/Users.ts              |  52 +++-
 src/payload.config.ts                 |  26 +-
 src/server.ts                         |  14 +
 8 files changed, 513 insertions(+), 255 deletions(-)

I find this more useful than seeing the entire patch.

However, GitSavvy always shows the full patch view, and not the stat view. It also seems to ignore the git config for this command.

Would it be possible to make GitSavvy honor the git config, or to have an internal option to customize this behavior?

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