t9109: don't swallow Git errors upstream of pipes
authorMatthew DeVore <matvore@google.com>
Fri, 5 Oct 2018 21:54:06 +0000 (14:54 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 6 Oct 2018 23:51:18 +0000 (08:51 +0900)
commitb00b6ace5c92ef4c2893f7b7cc597a0297812a52
treeefb44cc824d23b1b3fcc254218b6ef5752bfbd21
parent61de0ff695cf632f1a17fc0ebd4401bde2f7fa8f
t9109: don't swallow Git errors upstream of pipes

'git ... | foo' will mask any errors or crashes in git, so split up such
pipes in this file.

One testcase uses several separate pipe sequences in a row which are
awkward to split up. Wrap the split-up pipe in a function so the
awkwardness is not repeated. Also change that testcase's surrounding
quotes from double to single to avoid premature string interpolation.

Signed-off-by: Matthew DeVore <matvore@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9101-git-svn-props.sh