All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Kastrup <dak@gnu.org>
To: Junio C Hamano <gitster@pobox.com>
Cc: "Kevin Leung" <kevinlsk@gmail.com>,
	"Mike Hommey" <mh@glandium.org>, "Git ML" <git@vger.kernel.org>,
	"Nanako Shiraishi" <nanako3@bluebottle.com>
Subject: Re: [PATCH] git-stash: Display help message if git-stash is run without sub-commands
Date: Fri, 30 Nov 2007 21:11:14 +0100	[thread overview]
Message-ID: <85mysvwl25.fsf@lola.goethe.zz> (raw)
In-Reply-To: <7vr6i7qz6b.fsf@gitster.siamese.dyndns.org> (Junio C. Hamano's message of "Fri, 30 Nov 2007 12:02:52 -0800")

Junio C Hamano <gitster@pobox.com> writes:

> "Kevin Leung" <kevinlsk@gmail.com> writes:
>
>> On Nov 30, 2007 4:41 PM, Mike Hommey <mh@glandium.org> wrote:
>>> Still, 'git stash' alone should *do* the stash.
>>>
>>
>> How about `git stash' still does the stash, and `git stash llist'
>> exits with usage message? And if you want to save the stash with name,
>> you can only do it with `git stash save name_of_stash'.
>
> Sounds like a sensible thing to do.

Instead of "save", one could use "stash" since that is what it is
supposed to do.  Then

git stash stash stash

would create a stash called "stash".

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

  reply	other threads:[~2007-11-30 20:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-30  8:16 [PATCH] git-stash: Display help message if git-stash is run without sub-commands Kevin Leung
2007-11-30  8:41 ` Mike Hommey
2007-11-30  9:09   ` Kevin Leung
2007-11-30  9:19     ` Wincent Colaiuta
2007-11-30 20:02     ` Junio C Hamano
2007-11-30 20:11       ` David Kastrup [this message]
2007-11-30 11:50 ` Johannes Schindelin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=85mysvwl25.fsf@lola.goethe.zz \
    --to=dak@gnu.org \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=kevinlsk@gmail.com \
    --cc=mh@glandium.org \
    --cc=nanako3@bluebottle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.