diff options
author | Linus Torvalds <torvalds@osdl.org> | 2005-12-18 12:15:58 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-12-18 13:53:33 -0800 |
commit | ea77e675e564211513ebedb4f5bdcda482d7fd30 (patch) | |
tree | b804a7bacbbf43ccc657a71baf58ec15cf7c336c /git-fmt-merge-msg.perl | |
parent | Documentation: typos and small fixes in "everyday". (diff) | |
download | tgif-ea77e675e564211513ebedb4f5bdcda482d7fd30.tar.xz |
Make "git help" react to window size correctly
Currently the git "show commands" function will react to the environment
variable COLUMNS, or just default to a width of 80 characters.
That's just soo eighties. Nobody sane sets COLUMNS any more, unless they
need to support some stone-age software from before the age of steam
engines, SIGWINCH and TIOCGWINSZ.
So get with the new century, and use TIOCGWINSZ to get the terminal size.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-fmt-merge-msg.perl')
0 files changed, 0 insertions, 0 deletions