git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Add the utterly important 'mispel' command

From
Jeff King <peff@peff.net>
Date
Oct 4, 2009, 06:52 UTC
Message-ID
<20091004065239.GA7890@coredump.intra.peff.net>
In-Reply-To
<alpine.DEB.1.00.0910040040180.4985@pacific.mpi-cbg.de>
On Sun, Oct 04, 2009 at 12:41:55AM +0200, Johannes Schindelin wrote:
Show 10 quoted lines
> --- a/builtin.h
> +++ b/builtin.h
> @@ -12,6 +12,7 @@ extern const char git_more_info_string[];
>  
>  extern void list_common_cmds_help(void);
>  extern const char *help_unknown_cmd(const char *cmd);
> +const char *help_mispeld_comd(const char *cmd);
>  extern void prune_packed_objects(int);
>  extern int read_line_with_nul(char *buf, int size, FILE *file);
>  extern int fmt_merge_msg(int merge_summary, struct strbuf *in,

Hmph. This hunk doesn't apply to Shawn's master, and your blob sha1 is not in my repository for a 3-way merge. ;P

Also, I think there is a bug:
  $ git mispel show-branc
  error: You probably meant show-index
Or is it intentional for it to throw the user off track?
Let this be a lesson, kids: don't drink and code.
-Peff
Previous: Johannes SchindelinNext: Johannes Schindelin
Message 2 of 4 in “Add the utterly important 'mispel' command”
  1. Add the utterly important 'mispel' commandJohannes Schindelin, Oct 3, 2009
  2. Jeff KingOct 4, 2009
  3. Johannes SchindelinOct 4, 2009
  4. Jeff KingOct 4, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.