Commit 799e09e
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>1 parent e0876bc commit 799e09e
1 file changed
Lines changed: 16 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| |||
715 | 717 | | |
716 | 718 | | |
717 | 719 | | |
| 720 | + | |
718 | 721 | | |
719 | 722 | | |
720 | 723 | | |
| |||
740 | 743 | | |
741 | 744 | | |
742 | 745 | | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
743 | 756 | | |
744 | 757 | | |
745 | 758 | | |
| |||
1205 | 1218 | | |
1206 | 1219 | | |
1207 | 1220 | | |
1208 | | - | |
1209 | | - | |
| 1221 | + | |
| 1222 | + | |
1210 | 1223 | | |
1211 | 1224 | | |
1212 | 1225 | | |
| |||
1313 | 1326 | | |
1314 | 1327 | | |
1315 | 1328 | | |
1316 | | - | |
| 1329 | + | |
1317 | 1330 | | |
1318 | 1331 | | |
1319 | 1332 | | |
| |||
0 commit comments