t7810: add test for grep -W and trailing empty context lines
commit799e09e5fb9e23e2baae164ddc84a03879db6a6a
authorRené Scharfe <l.s.r@web.de>
Sat, 28 May 2016 15:05:41 +0000 (28 17:05 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 31 May 2016 20:08:56 +0000 (31 13:08 -0700)
tree1db47b3c0eadb2ac97789582859ad24be140abd2
parente0876bca4de44638a1cb51b03bdf0a40df631a80
t7810: add test for grep -W and trailing empty context lines

Add a test demonstrating that git grep -W prints empty lines following
the function context we're actually interested in.  The modified test
file makes it necessary to adjust three unrelated test cases.

Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7810-grep.sh