]> git.ipfire.org Git - thirdparty/git.git/commit
tests: standardize pipe placement
authorMatthew DeVore <matvore@google.com>
Fri, 5 Oct 2018 21:54:03 +0000 (14:54 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 6 Oct 2018 23:51:18 +0000 (08:51 +0900)
commitbdbc17e86abe2471c4bd0d52cdc004835cb7bb3e
tree2038e498933dcf79ed8f53dfd179bdfba6b34d50
parenta378fee5b0795d671722d803b93b7b32941c0067
tests: standardize pipe placement

Instead of using a line-continuation and pipe on the second line, take
advantage of the shell's implicit line continuation after a pipe
character.  So for example, instead of

some long line \
| next line

use

some long line |
next line

And add a blank line before and after the pipe where it aids readability
(it usually does).

This better matches the coding style documented in
Documentation/CodingGuidelines and used in shell scripts elsewhere in
the tree.

Signed-off-by: Matthew DeVore <matvore@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/lib-gpg.sh
t/t1006-cat-file.sh
t/t1300-config.sh
t/t5317-pack-objects-filter-objects.sh
t/t5500-fetch-pack.sh
t/t5616-partial-clone.sh
t/t6112-rev-list-filters-objects.sh