Skip to content

Commit

Permalink
git-remote-mediawiki: modify strings for a better coding-style
Browse files Browse the repository at this point in the history
- strings which don't need interpolation are single-quoted for more clarity and
slight gain of performance
- interpolation is preferred over concatenation in many cases, for more clarity
- variables are always used with the ${} operator inside strings
- strings including double-quotes are written with qq() so that the quotes do
not have to be escaped

Signed-off-by: Célestin Matte <celestin.matte@ensimag.fr>
Signed-off-by: Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Célestin Matte authored and Junio C Hamano committed Jun 14, 2013
1 parent 6a316be commit 86e95ef
Showing 1 changed file with 119 additions and 120 deletions.
Loading

0 comments on commit 86e95ef

Please sign in to comment.