| author | Alex Riesen <raa.lkml@gmail.com> | |
| Thu, 28 Aug 2008 17:15:33 +0000 (19:15 +0200) | ||
| committer | Junio C Hamano <gitster@pobox.com> | |
| Fri, 29 Aug 2008 04:49:55 +0000 (21:49 -0700) | ||
| commit | e321180ed3e22120e30bb350a5adecbe959e1241 | |
| tree | d262d8693b204942da9326d67501df0124680f13 | tree | snapshot |
| parent | 63e8aea74e992bd8667e35a0e646110acc1f0d7c | commit | diff |
Remove calculation of the longest command name from where it is not used
Just calculate it where it is needed - it is cheap and trivial,
as all the lengths are already there (stored when creating the
command lists).
Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Just calculate it where it is needed - it is cheap and trivial,
as all the lengths are already there (stored when creating the
command lists).
Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
| builtin-help.c | diff | blob | history | |
| builtin-merge.c | diff | blob | history | |
| help.c | diff | blob | history | |
| help.h | diff | blob | history |