Revision 346b54dbc92bb3c928d326da9d8addf5eb50acce authored by Elia Pinto on 16 April 2014, 17:29:49 UTC, committed by Junio C Hamano on 17 April 2014, 18:14:59 UTC
The Git CodingGuidelines prefer the $(...) construct for command
substitution instead of using the backquotes `...`.

The backquoted form is the traditional method for command
substitution, and is supported by POSIX.  However, all but the
simplest uses become complicated quickly.  In particular, embedded
command substitutions and/or the use of double quotes require
careful escaping with the backslash character.

The patch was generated by:

for _f in $(find . -name "*.sh")
do
   sed -i 's@`\(.*\)`@$(\1)@g' ${_f}
done

and then carefully proof-read.

Signed-off-by: Elia Pinto <gitter.spiros@gmail.com>
Reviewed-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent add77e8
History
File Mode Size
.gitignore -rw-r--r-- 7 bytes
README -rw-r--r-- 9.9 KB
TEAMS -rw-r--r-- 1.7 KB
bg.po -rw-r--r-- 222.5 KB
de.po -rw-r--r-- 319.7 KB
fr.po -rw-r--r-- 314.5 KB
git.pot -rw-r--r-- 200.0 KB
is.po -rw-r--r-- 3.1 KB
it.po -rw-r--r-- 128.2 KB
pt_PT.po -rw-r--r-- 99.8 KB
sv.po -rw-r--r-- 305.2 KB
vi.po -rw-r--r-- 341.6 KB
zh_CN.po -rw-r--r-- 297.4 KB

README

back to top