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

Showing all stashed changes in one go

From
YDYann Dirson <ydirson@free.fr>
Date
Sep 27, 2012, 20:00 UTC
Message-ID
<20120927200006.GD6493@home.lan>

When I have a couple of stashed changes, it gets annoying to repeatedly call "git stash show -p stash@{N}" until finding the correct one.

Since "git reflog show stash" already does part of the job, I thought that adding "-p" there to see the patch would help (at least it would show the not-yet-staged parts, which would already be a good start).

But the output is then really strange: does it really print the delta between every two reflog entries ? I can't think of a situation where it would be was we want - but then, my imagination is known to be deficient when I hit a situation that does not do what I was expecting at first :)

Is there another way I missed to get all those stash contents listed, besides scriptically iterating ?

Next: Jeff King
Message 1 of 2 in “Showing all stashed changes in one go”
  1. Yann DirsonSep 27, 2012
  2. Jeff KingSep 27, 2012

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.