From: Junio C Hamano <hidden> Date: 2019-11-15 05:26:39
Denton Liu [off-list ref] writes:
+# Calls grep but returns zero even if no matching lines are found.
+test_grep_return_success () {
+ grep "$@" || :
+}
It makes sense to have a helper like this, but the name is quite a
mouthful. I wonder if we can call it with a shorter name, e.g.
"test_filter" or something.