Re: [PATCH] t7406: Make a test_must_fail call fail for the right reason
On Fri, Aug 3, 2018 at 7:40 PM Eric Sunshine <sunshine@sunshineco.com> wrote:
> git diff --raw >out &&
> ! grep "<literal-tab>" out &&
Show 9 quoted lines
> (where <literal-tab> is a literal TAB)
>
> Since this script has a number of instances of Git commands upstream
> pipes, it may not make sense to fix just this one. So, either a
> preparatory cleanup patch could fix them all at once, and then this
> patch could come on top or, if you don't want to fix all the pipe
> cases, you could do this instead:
>
> ! git diff --raw | grep "<literal-tab>" &&
Of course, I mean "<literal-tab>submodule".