git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [feature request] stash diff usability

From
Eric Sunshine <sunshine@sunshineco.com>
Date
Feb 16, 2026, 01:05 UTC
Message-ID
<CAPig+cRpiOqDGouEQG2MUnYXNSMLKGcqBTBWgqQKYxL7fdN7QA@mail.gmail.com>
In-Reply-To
<CAMh=C_0ravwVS6UsKKux8PTewd7Z=db4bgvisMXnPwKU-Kyytg@mail.gmail.com>
On Sun, Feb 15, 2026 at 7:57 PM Pierre Houston <jpmhouston@gmail.com> 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.

Previous: Pierre HoustonNext: Eric Sunshine
Message 2 of 3 in “[feature request] stash diff usability”
  1. Pierre HoustonFeb 16, 2026
  2. Eric SunshineFeb 16, 2026
  3. Eric SunshineFeb 16, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.