X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=t%2Ft7810-grep.sh;h=dbc6cd8a775a43efbd8fdf433958ccd090b6e3ab;hb=bf0c5bbe2566d756d7468331161461ea9fec3b1f;hp=8a7788dc39f236b15e60912c384d835fd1db5a28;hpb=adfe4e1ff2c296184856bf55636be845f96b55e5;p=git.git diff --git a/t/t7810-grep.sh b/t/t7810-grep.sh index 8a7788dc3..dbc6cd8a7 100755 --- a/t/t7810-grep.sh +++ b/t/t7810-grep.sh @@ -303,6 +303,11 @@ test_expect_success 'grep -f, ignore empty lines' ' test_cmp expected actual ' +test_expect_success 'grep -f, ignore empty lines, read patterns from stdin' ' + git grep -f - actual && + test_cmp expected actual +' + cat >expected <