git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff King <peff@peff.net>
To: Matthieu Moy <Matthieu.Moy@imag.fr>
Cc: git@vger.kernel.org, gitster@pobox.com,
	Thomas Singer <thomas.singer@syntevo.com>
Subject: Re: [PATCH] stash: suggest the correct command line for unknown options.
Date: Fri, 5 Mar 2010 12:08:42 -0500	[thread overview]
Message-ID: <20100305170841.GA9325@coredump.intra.peff.net> (raw)
In-Reply-To: <1267805693-25206-1-git-send-email-Matthieu.Moy@imag.fr>

On Fri, Mar 05, 2010 at 05:14:53PM +0100, Matthieu Moy wrote:

> diff --git a/git-stash.sh b/git-stash.sh
> index 2d69196..cf4e673 100755
> --- a/git-stash.sh
> +++ b/git-stash.sh
> @@ -151,6 +151,7 @@ save_stash () {
>  			;;
>  		-*)
>  			echo "error: unknown option for 'stash save': $1"
> +			echo "       To provide a message, use 'git stash -- $1'."

Don't you mean "git stash save -- $1"?

-Peff

  reply	other threads:[~2010-03-05 17:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-05 12:16 git stash save <message> Thomas Singer
2010-03-05 12:55 ` Johannes Sixt
2010-03-05 13:29   ` Thomas Singer
2010-03-05 16:14     ` [PATCH] stash: suggest the correct command line for unknown options Matthieu Moy
2010-03-05 17:08       ` Jeff King [this message]
2010-03-05 18:43         ` [PATCH v2] " Matthieu Moy
2010-03-07  4:01           ` Junio C Hamano

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=20100305170841.GA9325@coredump.intra.peff.net \
    --to=peff@peff.net \
    --cc=Matthieu.Moy@imag.fr \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=thomas.singer@syntevo.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).