diff options
author | Célestin Matte <celestin.matte@ensimag.fr> | 2013-06-14 15:50:30 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-06-14 09:02:17 -0700 |
commit | 86e95ef2d4803c0fd2cac1afdd66c702ee2bafc1 (patch) | |
tree | ccb992ebce5e5610ddf8acac6b21529aaa8aa2d7 /contrib/git-resurrect.sh | |
parent | git-remote-mediawiki: put long code into a subroutine (diff) | |
download | tgif-86e95ef2d4803c0fd2cac1afdd66c702ee2bafc1.tar.xz |
git-remote-mediawiki: modify strings for a better coding-style
- 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>
Diffstat (limited to 'contrib/git-resurrect.sh')
0 files changed, 0 insertions, 0 deletions