Re: [PATCH 2/2] help -a: handle aliases with long names gracefully

2018-12-12 Thread Junio C Hamano
"Johannes Schindelin via GitGitGadget" writes: > From: Johannes Schindelin > > We take pains to determine the longest command beforehand, so that we > can align the category column after printing the command names. > > However, then we re-use that value when printing the aliases. If any > alias

[PATCH 2/2] help -a: handle aliases with long names gracefully

2018-12-11 Thread Johannes Schindelin via GitGitGadget
From: Johannes Schindelin We take pains to determine the longest command beforehand, so that we can align the category column after printing the command names. However, then we re-use that value when printing the aliases. If any alias name is longer than the longest command name, we consequently