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

Re: Behaviour of 'git stash show' when a stash has untracked files

From
Kaartic Sivaraam <kaarticsivaraam91196@gmail.com>
Date
Sep 23, 2017, 07:11 UTC
Message-ID
<1506150665.3877.7.camel@gmail.com>
In-Reply-To
<20170921033152.4hbkctzxraww5rqo@sigill.intra.peff.net>
On Wed, 2017-09-20 at 23:31 -0400, Jeff King wrote:
Show 5 quoted lines
> But I have always been bothered how the saved state
> is a bit hidden from the user. It seems like a recipe for user confusion
> when they save something with "git stash" but then "stash show" doesn't
> even mention it.
> 
Yeah, I feel the same.
> I guess the nuclear option there is introducing "git stash info" or
> something, and marking "git stash show" as an alias for "git stash info
> --worktree".
Sounds good.
> but I'd be happy to review if anybody picked up the topic.
> 
I would be, too.

--- Kaartic

Previous: Jeff KingNext: Junio C Hamano
Message 6 of 8 in “Behaviour of 'git stash show' when a stash has untracked files”
  1. Kaartic SivaraamSep 17, 2017
  2. Junio C HamanoSep 20, 2017
  3. Jeff KingSep 20, 2017
  4. Junio C HamanoSep 21, 2017
  5. Jeff KingSep 21, 2017
  6. Kaartic SivaraamSep 23, 2017
  7. Junio C HamanoSep 24, 2017
  8. Kaartic SivaraamSep 23, 2017

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.