diff options
author | Matthew DeVore <matvore@google.com> | 2018-10-05 14:54:03 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-10-07 08:51:18 +0900 |
commit | bdbc17e86abe2471c4bd0d52cdc004835cb7bb3e (patch) | |
tree | 2038e498933dcf79ed8f53dfd179bdfba6b34d50 /t/helper/test-run-command.c | |
parent | Documentation: add shell guidelines (diff) | |
download | tgif-bdbc17e86abe2471c4bd0d52cdc004835cb7bb3e.tar.xz |
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>
Diffstat (limited to 't/helper/test-run-command.c')
0 files changed, 0 insertions, 0 deletions