builtin-grep: terminate correctly at EOF
authorJunio C Hamano <junkio@cox.net>
Thu, 4 May 2006 04:03:25 +0000 (21:03 -0700)
committerJunio C Hamano <junkio@cox.net>
Thu, 4 May 2006 04:03:25 +0000 (21:03 -0700)
commit7ed36f56e33bd838d06521a37a916516397e9e8b
tree6f672da4064f192e2dff91180f1f24fabb591b58
parent1e3d90e0135274ad89cd8ee0722e2dd043ec0052
builtin-grep: terminate correctly at EOF

It barfed and segfaulted with an incomplete line.

Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-grep.c