author | Junio C Hamano <gitster@pobox.com> | |
Fri, 20 Nov 2009 10:00:40 +0000 (02:00 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 20 Nov 2009 22:50:43 +0000 (14:50 -0800) | ||
commit | 63d564b300274ec71a274f9b672366d07ae5620a | |
tree | d6ddf4ae6954c6c441f255f6a87ceb14489888de | tree | snapshot |
parent | 3bb18e58fc4f5eddd97bc34fc11dc207b47cc093 | commit | diff |
read_revision_from_stdin(): use strbuf
It is so 2005 (and Linus ;-) to have a fixed 1000-byte buffer that
reads from the user. Let's use strbuf to unlimit the input length.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
It is so 2005 (and Linus ;-) to have a fixed 1000-byte buffer that
reads from the user. Let's use strbuf to unlimit the input length.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
revision.c | diff | blob | history |