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

Re: Make 'git stash list' more informative

From
Lucas Seiki Oshiro <lucasseikioshiro@gmail.com>
Date
Apr 5, 2025, 16:24 UTC
Message-ID
<29E4ED32-4909-48EF-86BB-67111B62AE1A@gmail.com>
In-Reply-To
<edcd6174-e931-4ab9-b61d-8126a6cab740@rawbw.com>
> It contains the last commit's subject which often/usually doesn't really describe the stash entry.

`git stash list` accepts the options from `git log`, so you can change look at its manpage to find other options that show the information that you want.

> I propose to amend WIP stash entry descriptions with size, number of dirs and files
Perhaps this helps you:
`git stash list --stat --pretty=reference`
You can customize following the format described on https://git-scm.com/docs/pretty-formats.
> Thanks,
> Yuri
I hope it helps you!
Previous: YuriNext: Junio C Hamano
Message 2 of 4 in “Make 'git stash list' more informative”
  1. YuriApr 5, 2025
  2. Lucas Seiki OshiroApr 5, 2025
  3. Junio C HamanoApr 7, 2025
  4. Lucas Seiki OshiroApr 8, 2025

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.