Re: [feature request] stash diff usability
From: Eric Sunshine <hidden>
Date: 2026-02-16 01:05:49
From: Eric Sunshine <hidden>
Date: 2026-02-16 01:05:49
On Sun, Feb 15, 2026 at 7:57 PM Pierre Houston [off-list ref] wrote:
I can't recall wanting to get, from the command line, the contents of
a stash as a diff in the past. I thought there was maybe an option to
`git stash show` , boy was I wrong: `git diff 'stash@{0}^'
'stash@{0}'`. This seems rather user hostile.What you probably want is `git stash show -p`, which is documented indirectly as "<diff-option>" in the git-stash man page for the "show" subcommand.