summaryrefslogtreecommitdiff
path: root/Documentation/howto
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@osdl.org>2005-12-18 20:41:10 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-12-18 21:53:40 (GMT)
commit112d0bafd620c0e0f10614a3ba021d4de4fae331 (patch)
tree3bc45071056bf88ecfc29ca8ae0d6b96f3a5cd00 /Documentation/howto
parentea77e675e564211513ebedb4f5bdcda482d7fd30 (diff)
downloadgit-112d0bafd620c0e0f10614a3ba021d4de4fae331.zip
git-112d0bafd620c0e0f10614a3ba021d4de4fae331.tar.gz
git-112d0bafd620c0e0f10614a3ba021d4de4fae331.tar.bz2
Make "git help" sort git commands in columns
This changes "pretty_print_string_list()" to show the git commands alphabetically in column order, which is the normal one. Ie instead of doing git commands available in '/home/torvalds/bin' ---------------------------------------------- add am ... applypatch archimport ... cat-file check-ref-format ... ... it does git commands available in '/home/torvalds/bin' ---------------------------------------------- add diff-tree ... am fetch ... apply fetch-pack ... ... where each column is sorted. This is how "ls" sorts things too, and since visually the columns are much more distinct than the rows, so it _looks_ more sorted. The "ls" command has a "-x" option that lists entries by lines (the way git.c used to): if somebody wants to do that, the new print-out logic could be easily accomodated to that too. Matter of taste and preference, I guess. Signed-off-by: Linus Torvalds <torvalds@osdl.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/howto')
0 files changed, 0 insertions, 0 deletions