Re: [TOY PATCH] git wrapper: show similar command names for an unknown command
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jun 5, 2008, 23:00 UTC
- Message-ID
- <alpine.DEB.1.00.0806052358580.21190@racer>
- In-Reply-To
- <484853B1.80509@dirk.my1.cc>
Hi,
On Thu, 5 Jun 2008, Dirk Süsserott wrote:
> This is really cool, especially for people that do not know the > different commands by heart -- like me. I often know there's a command > that's spelled somehow like X but I don't exactly remember. Your patch > seems perfect for that situation. :-)
Heh.
> Keen on seeing it in a future release. Thanks in advance. Did someone > suggest it or was it your very own idea?
Maybe someone suggested it in the past. It just happened that I wanted to procrastinate, and levenshtein.c in my personal fork came before my eyes. This was the next best thing I could think of doing with it.
In the course I realized that my extension to take swaps into account was already known as the Damerau-Levenshtein distance, so I even learnt something in the process ;-)
Ciao, Dscho