git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Feature Request] Did you mean `git ...`? should ask user for feedback, not return to the prompt
@ 2013-12-19 22:38 Eric Andrew Lewis
  2013-12-19 23:17 ` Jonathan Nieder
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Andrew Lewis @ 2013-12-19 22:38 UTC (permalink / raw)
  To: git

Git is smart enough to realize when you make a spelling error and
enter a non-existent git command. Since you probably do mean what it
suggests, it follows that the user would want to immediately say “yes,
I did want to do that,” rather than return to the command line to
enter the command again.

e.g.

$ git psh
git: 'psh' is not a git command. See 'git —help'.
Did you mean 'push'[y/n]?

--
Eric Andrew Lewis

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-12-19 23:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-19 22:38 [Feature Request] Did you mean `git ...`? should ask user for feedback, not return to the prompt Eric Andrew Lewis
2013-12-19 23:17 ` Jonathan Nieder

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).