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

Re: git stash filename - stashing single files.

From
Paul Smith <paul@mad-scientist.net>
Date
Dec 14, 2016, 15:00 UTC
Message-ID
<1481727610.4552.8.camel@mad-scientist.net>
In-Reply-To
<20161214144444.k4v64accedl6xvho@sigill.intra.peff.net>
On Wed, 2016-12-14 at 09:44 -0500, Jeff King wrote:
> Personally, I think this is a pretty terrible interface. Besides the
> fact that I have never written a stash message in all my years of using
> git, it's totally inconsistent with the rest of git (which would use
> "-m" for the message, and treat arguments as pathspecs).

I agree that this is a terrible (and inconsistent) interface and I would love to see it changed.

I do use messages on stashes all the time (because I can never remember their context a week later without a hint--just looking at the diff is not enough for me) but I would welcome this change. Definitely the first step would be introducing the "-m" option so people and tools could begin the switch to using it.

Previous: Jeff King
Message 3 of 3 in “git stash filename - stashing single files.”
  1. Jonas HartmannDec 14, 2016
  2. Jeff KingDec 14, 2016
  3. Paul SmithDec 14, 2016

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.