Patch 4 has the meat of this series. While running valgrind to check that I didn't leak any memory, a couple of leaks were spotted. Patches 1-3 address them.
Major change in v2: implement Thomas' idea  about using help.autocorrect to configure this behaviour.  <878vh4con4....@thomas.inf.ethz.ch> Jeff King (1): help.c::uniq: plug a leak Tay Ray Chuan (3): help.c::exclude_cmds: realloc() before copy, plug a leak help.c: plug leaks with(out) help.autocorrect allow recovery from command name typos Documentation/config.txt | 30 ++++++++++++---- advice.c | 2 ++ advice.h | 1 + help.c | 94 ++++++++++++++++++++++++++++++++++++++++++------ 4 files changed, 110 insertions(+), 17 deletions(-) -- 188.8.131.52.116.g8228a23 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html