From: Kaartic Sivaraam <kaarticsivaraam91196@gmail.com>
To: Stephan Beyer <s-beyer@gmx.net>, git@vger.kernel.org
Subject: Re: Suggestion for the "Did you mean this?" feature
Date: Sun, 18 Dec 2016 18:56:28 +0530 [thread overview]
Message-ID: <1482067588.13943.4.camel@gmail.com> (raw)
In-Reply-To: <5e1a3c4b-43b9-29f2-68fe-8149d9940123@gmx.net>
On Sun, 2016-12-18 at 14:16 +0100, Stephan Beyer wrote:
> I cannot tell if this is a good idea (or why it would be a bad idea)
> but
> why do you restrict your suggestion to the case when there is only
> one
> alternative?
>
> Why not also something like:
>
> ---
> $ git sta
> git: 'sta' is not a git command. See 'git --help'.
>
> Did you mean one of these?
> [1] status
> [2] stage
> [3] stash
> You can choose or quit [1,2,3,q]:
That would be fine too. Just thought it would be a good start to start
with a simple case. Also, I wasn't sure if there were any drawback's
that I was missing. I guess if it was implemented it wouldn't be
difficult to extend it further.
--
Regards,
Kaartic
next prev parent reply other threads:[~2016-12-18 13:27 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-18 12:18 Suggestion for the "Did you mean this?" feature Kaartic Sivaraam
2016-12-18 13:16 ` Stephan Beyer
2016-12-18 13:26 ` Kaartic Sivaraam [this message]
2016-12-18 15:16 ` Alexei Lozovsky
2016-12-19 0:48 ` Chris Packham
2016-12-19 17:01 ` [PATCH] Tweak help auto-correct phrasing Marc Branchaud
2016-12-19 22:04 ` Junio C Hamano
2016-12-20 14:02 ` [PATCHv2] " Marc Branchaud
2017-06-20 18:00 ` Kaartic Sivaraam
2017-06-20 18:04 ` Kaartic Sivaraam
2017-06-20 18:21 ` Marc Branchaud
2017-06-21 13:57 ` [PATCHv2 (resend)] " Marc Branchaud
2017-06-21 22:34 ` Junio C Hamano
2016-12-19 19:24 ` Suggestion for the "Did you mean this?" feature Kaartic Sivaraam
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=1482067588.13943.4.camel@gmail.com \
--to=kaarticsivaraam91196@gmail.com \
--cc=git@vger.kernel.org \
--cc=s-beyer@gmx.net \
/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).