t7502: clean up style
commit94ca361bfb87b00fad7c19cbb518656279e4329d
authorDenton Liu <liu.denton@gmail.com>
Wed, 17 Apr 2019 10:23:24 +0000 (17 11:23 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 18 Apr 2019 04:49:28 +0000 (18 13:49 +0900)
tree7784a340dd319f9cb7f2625f6a90b2707f180d51
parentb720e1e3c3156a46ad1c4f5bbe13c7aeefb25c29
t7502: clean up style

Refactor out Git commands that were upstream of a pipe. Remove spaces
after "> ". Indent here-docs appropriately. Convert echo chains to use
the test_write_lines function. Refactor 'sign off' test to use test_cmp
instead of comparing variables.

Helped-by: Eric Sunshine <sunshine@sunshineco.com>
Helped-by: SZEDER Gábor <szeder.dev@gmail.com>
Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7502-commit-porcelain.sh