git-commit-vandalism/contrib/remote-helpers
Junio C Hamano ff867963f0 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>
2013-09-03 10:25:19 -07:00
..
git-remote-bzr remote-helpers: cleanup more global variables 2013-08-29 11:40:57 -07:00
git-remote-hg remote-hg: use notes to keep track of Hg revisions 2013-08-30 10:37:23 -07:00
Makefile remote-helpers: fix the run of all tests 2013-04-04 09:35:20 -07:00
test-bzr.sh contrib/remote-helpers: style updates for test scripts 2013-09-03 10:25:19 -07:00
test-hg-bidi.sh contrib/remote-helpers: style updates for test scripts 2013-09-03 10:25:19 -07:00
test-hg-hg-git.sh contrib/remote-helpers: style updates for test scripts 2013-09-03 10:25:19 -07:00
test-hg.sh contrib/remote-helpers: style updates for test scripts 2013-09-03 10:25:19 -07:00