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

[feature request] stash diff usability

From
PHPierre Houston <jpmhouston@gmail.com>
Date
Feb 16, 2026, 00:56 UTC
Message-ID
<CAMh=C_0ravwVS6UsKKux8PTewd7Z=db4bgvisMXnPwKU-Kyytg@mail.gmail.com>

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.

I see the request to get the "!" syntax working, this would be an improvement, However, I'd like to see the command `git stash diff [stashname]` to be a shorthand for the above, and of course defaulting to the most recent stash.

My apologies if this matches an old, previously rejected suggestion. Searching the mailing list exhaustively takes some skill I haven't acquired.

Next: Eric Sunshine
Message 1 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.