{"thread":{"id":"40299","subject":"[Feature request] help.autocorrect suggestion with Y/N","startedAt":"2015-09-08T08:11:20Z","lastAt":"2015-09-08T08:40:35Z","messageCount":2,"participants":["rubenkram@spacetrace.org","Jeff King"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"269600","messageId":"55EE9828.106@spacetrace.org","threadId":"40299","inReplyTo":null,"subject":"[Feature request] help.autocorrect suggestion with Y/N","fromName":"rubenkram@spacetrace.org","fromEmail":"rubenkram@spacetrace.org","sentAt":"2015-09-08T08:11:20Z","receivedAt":"2015-09-08T08:11:20Z","isPatch":false,"sender":{"key":"rubenkram@spacetrace.org","avatar":null},"body":"When you type\n\n git clone https://repo.git\n\nnow you get\n\n git: 'glone' is not a git command. See 'git --help'.\n\n Did you mean this?\n\tclone\n\nIt would be handsome if you could say \"Yes\" to this question so you\ndon't have to manually correct your last command like:\n\n Did you mean this?\n        clone\n [Y/n]\n"},{"id":"269604","messageId":"20150908084035.GC2991@sigill.intra.peff.net","threadId":"40299","inReplyTo":"55EE9828.106@spacetrace.org","subject":"Re: [Feature request] help.autocorrect suggestion with Y/N","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2015-09-08T08:40:35Z","receivedAt":"2015-09-08T08:40:35Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Tue, Sep 08, 2015 at 10:11:20AM +0200, rubenkram@spacetrace.org wrote:\n\n>  git: 'glone' is not a git command. See 'git --help'.\n> \n>  Did you mean this?\n> \tclone\n> \n> It would be handsome if you could say \"Yes\" to this question so you\n> don't have to manually correct your last command like:\n> \n>  Did you mean this?\n>         clone\n>  [Y/n]\n\nThere is currently no way to ask, but you might want to check out\nhelp.autoCorrect:\n\n  $ git config --global help.autoCorrect 10\n  $ git glone ...\n  WARNING: You called a Git command named 'gclone', which does not exist.\n  Continuing under the assumption that you meant 'clone'\n  in 1.0 seconds automatically...\n\nYou can set it to \"-1\" if you want no delay at all.\n\nIf you (or someone) wanted to add an interactive version, it would\nprobably make sense to trigger it by setting help.autoCorrect to \"ask\".\n\n-Peff\n"}]}