remove unused/unneeded "pattern" argument of list_commands
commitedb6ddc53e71f4f959665cbc3180bb21b7ee7634
authorScott R Parish <srp@srparish.net>
Sat, 27 Oct 2007 08:36:50 +0000 (27 01:36 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 30 Oct 2007 03:51:37 +0000 (29 20:51 -0700)
treecf02df7c824c0fa8068974f8ceddbf43669d9658
parent3d7e2d857a570b1d6368285f95b67994fc95629e
remove unused/unneeded "pattern" argument of list_commands

list_commands() currently accepts and ignores a "pattern" argument,
and then hard codes a prefix as well as some magic numbers. This
hardcodes the prefix inside of the function and removes the magic
numbers.

Signed-off-by: Scott R Parish <srp@srparish.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
help.c