Code

Fix deletion of last character in levenshtein distance
authorSamuel Tardieu <sam@rfc1149.net>
Tue, 18 Nov 2008 18:53:26 +0000 (19:53 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 24 Nov 2008 03:23:33 +0000 (19:23 -0800)
commit13c6bcd49f8151438aa3302b8764c6f8d42441e2
treed9c510e443f19528b17d62127f84c9308d4391d3
parent6fc4a7e546d5e2b0ce545f73b5c1829887db2462
Fix deletion of last character in levenshtein distance

Without this change, "git tags" will not suggest "git tag"
(it will only suggest "git status"), and "git statusx" will
not suggest anything.

Signed-off-by: Samuel Tardieu <sam@rfc1149.net>
Acked-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
levenshtein.c