diff options
author | Matthew DeVore <matvore@google.com> | 2018-10-05 14:54:02 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-10-07 08:51:17 +0900 |
commit | a378fee5b0795d671722d803b93b7b32941c0067 (patch) | |
tree | 67b3d1b032b4de9f14749ed7e1c31c9b6e963f12 /git-sh-i18n.sh | |
parent | t/README: reformat Do, Don't, Keep in mind lists (diff) | |
download | tgif-a378fee5b0795d671722d803b93b7b32941c0067.tar.xz |
Documentation: add shell guidelines
Add the following guideline to Documentation/CodingGuidelines:
Break overlong lines after "&&", "||", and "|", not before
them; that way the command can continue to subsequent lines
without backslash at the end.
And the following to t/README (since it is specific to writing tests):
Pipes and $(git ...) should be avoided when they swallow exit
codes of Git processes
Signed-off-by: Matthew DeVore <matvore@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-sh-i18n.sh')
0 files changed, 0 insertions, 0 deletions