Antoine Pelisse <apeli...@gmail.com> writes: > On Thu, Aug 29, 2013 at 11:24 PM, Junio C Hamano <gits...@pobox.com> wrote: >> -- >8 -- >> Subject: [PATCH 9/8] 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 styles: >> >> * 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. > > May I ask what pattern you used to replace all these or if you went > through manually ?
"M-x query-replace" from "> " to ">" with manual inspection. I never use full automation myself, as I do not trust that I am careful enough and it is prone to unexpected changes that I can easily miss. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html