Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
exclude: split basename matching code into a separate function
[gitweb.git]
/
help.c
diff --git
a/help.c
b/help.c
index 69d483d8d3b7e109345b1e8124df6b023ed312fb..6012c07b735a541659cd75e2334563aeb933bfcb 100644
(file)
--- a/
help.c
+++ b/
help.c
@@
-317,7
+317,7
@@
const char *help_unknown_cmd(const char *cmd)
}
main_cmds.names[i]->len =
- levenshtein(cmd, candidate, 0, 2, 1,
4
) + 1;
+ levenshtein(cmd, candidate, 0, 2, 1,
3
) + 1;
}
qsort(main_cmds.names, main_cmds.cnt,