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

Re: [PATCH] stash: end commit log with a newline

From
Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de>
Date
Jul 5, 2007, 11:58 UTC
Message-ID
<20070705115825.GA13654@informatik.uni-freiburg.de>
In-Reply-To
<7vbqere732.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
Show 22 quoted lines
> しらいしななこ <nanako3@bluebottle.com> writes:
> 
> > I am sorry to join the discussion late, but I think it is much better to let
> > the user give a short reminder message from the command line.  For example,
> >
> >   $ git stash add customized message to stash
> >
> > When I say "git stash list", I want to see which branch I was on when I was
> > in the middle of doing something, and what that something was.  It is not
> > interesting which commit on that branch I started that change from.  After
> > creating a stash without a message, and then another stash with a message, I
> > want to see:
> >
> >   $ git stash list
> >   stash@{0}: On master: add customized message to stash
> >   stash@{1}: WIP on master: 36e5e70... Start deprecating "git-command" in favor of "git command"
> 
> Hmph.  I only recently got interested in "stash", so have not
> enough real-life experience to base my judgement on, but I think
> I'd agree with your reasoning.
> 
> Perhaps something like this?

I didn't test it yet, but it sounds good. I will apply your patch and work a while with it. But I think if someone adds documentation, I will give my Ack. :-)

BTW: I prefer help over usage, but if it nanako prefers usage, why not
both?

Best regards Uwe

-- 
Uwe Kleine-König

http://www.google.com/search?q=1+stone%3D
Previous: Junio C HamanoNext: Junio C Hamano
Message 2 of 4 in “Re: [PATCH] stash: end commit log with a newline”
  1. Junio C HamanoJul 5, 2007
  2. Uwe Kleine-KönigJul 5, 2007
  3. Junio C HamanoJul 5, 2007
  4. しらいしななこJul 5, 2007

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.