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

Re: [PATCH] increase git el1T3nEss

From
Daniel Barkalow <barkalow@iabervon.org>
Date
Oct 29, 2008, 20:28 UTC
Message-ID
<alpine.LNX.1.00.0810291623360.19665@iabervon.org>
In-Reply-To
<20081029170631.GA12078@sigill.intra.peff.net>
On Wed, 29 Oct 2008, Jeff King wrote:
Show 28 quoted lines
> The uptake of git by script kiddies has been disappointingly
> minimal. Let's make it more palatable by allowing mixed-case
> and l33t-speak commands.
> 
> Signed-off-by: Jeff King <peff@peff.net>
> ---
> This commit was made by "git c0mM1t".
> 
>  git.c |   27 ++++++++++++++++++++++++++-
>  1 files changed, 26 insertions(+), 1 deletions(-)
> 
> diff --git a/git.c b/git.c
> index 89feb0b..fd0ca67 100644
> --- a/git.c
> +++ b/git.c
> @@ -261,6 +261,31 @@ static int run_command(struct cmd_struct *p, int argc, const char **argv)
>  	return 0;
>  }
>  
> +static char deelite(char in) {
> +	if (isalpha(in))
> +		return tolower(in);
> +	switch (in) {
> +	case '0': return 'o';
> +	case '1': return 'i';
> +	case '3': return 'e';
> +	case '5': return 's';
> +	case '7': return 'l';

Your mapping doesn't comply with ISO 1337.5p34k; 1 can be l (in addition to i), and 7 is T. Also, you're missing 4.

	-Daniel
*This .sig left intentionally blank*
Previous: Miklos VajnaNext: Jeff King
Message 6 of 8 in “diff: support making output friendlier for fine, grand users”
  1. 1/1 diff: support making output friendlier for fine, grand usersPetr Baudis, Oct 29, 2008
  2. David BrownOct 29, 2008
  3. Johannes SchindelinOct 29, 2008
  4. increase git el1T3nEssJeff King, Oct 29, 2008
  5. Miklos VajnaOct 29, 2008
  6. Daniel BarkalowOct 29, 2008
  7. Jeff KingOct 29, 2008
  8. Petr BaudisOct 29, 2008

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.