diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-08-29 14:10:04 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-09-03 10:25:19 -0700 |
commit | ff867963f01ab9b5f1d27ef2e7b255fcb74281d5 (patch) | |
tree | 8953dd783351b87f2bdad9854d1fdc9e75b1f9d7 /sha1-lookup.c | |
parent | c587d655122a287a6796d493d176128f05374156 (diff) | |
download | git-ff867963f01ab9b5f1d27ef2e7b255fcb74281d5.tar.gz |
contrib/remote-helpers: style updates for test scripts
During the review of the main series it was noticed that these test
scripts can use updates to conform to our coding style better, but
fixing the style should be done in a patch separate from the main
series.
This updates the test-*.sh scripts only for style issues:
* We do not leave SP between a redirection operator and the
filename;
* We change line before "then", "do", etc. rather than terminating
the condition for "if"/"while" and list for "for" with a
semicolon;
* When HERE document does not use any expansion, we quote the end
marker (e.g. "cat <<\EOF" not "cat <<EOF") to signal the readers
that there is no funny substitution to worry about when reading
the code.
* We use "test" rather than "[".
Reviewed-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sha1-lookup.c')
0 files changed, 0 insertions, 0 deletions