GitSavvy icon indicating copy to clipboard operation
GitSavvy copied to clipboard

git stash show: show stat only

Open franciscolourenco opened this issue 5 months ago • 2 comments

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?

franciscolourenco avatar Feb 04 '24 14:02 franciscolourenco