Tay Ray Chuan | 25 Jul 2012 18:16
Picon
Gravatar

[PATCH v2 0/4] allow recovery from command name typos

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 [1] about using
help.autocorrect to configure this behaviour.

[1] <878vh4con4.fsf <at> 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(-)

--

-- 
1.7.11.1.116.g8228a23


Gmane