Thread (2 messages) 2 messages, 2 authors, 2026-02-16

Re: [feature request] stash diff usability

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help