author | Björn Gustavsson <bgustavsson@gmail.com> | |
Sun, 22 Nov 2009 21:19:53 +0000 (22:19 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 23 Nov 2009 00:14:48 +0000 (16:14 -0800) | ||
commit | 625a860cb73b259683a4285705ac17e92298d5d5 | |
tree | d6a4e85646285d1297d16a2fa5237fdd565dec6a | tree | snapshot |
parent | 39add7a36feca434ba85267cb76e4fd69bcdc13a | commit | diff |
Fix truncated usage messages
The usage messages for some commands (such as 'git diff-tree')
are truncated because they don't fit in a fixed buffer of
1024 bytes.
It would be tempting to eliminate the buffer and the problem once
and for all by doing the output in three steps, but doing so could
(according to commit d048a96e) increase the likelyhood of messing
up the display.
So we just increase the size of the buffer.
Signed-off-by: Björn Gustavsson <bgustavsson@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The usage messages for some commands (such as 'git diff-tree')
are truncated because they don't fit in a fixed buffer of
1024 bytes.
It would be tempting to eliminate the buffer and the problem once
and for all by doing the output in three steps, but doing so could
(according to commit d048a96e) increase the likelyhood of messing
up the display.
So we just increase the size of the buffer.
Signed-off-by: Björn Gustavsson <bgustavsson@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
usage.c | diff | blob | history |