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
LICENSE -rw-r--r-- 1.5 KB
fast_export.c -rw-r--r-- 8.9 KB
fast_export.h -rw-r--r-- 1.2 KB
line_buffer.c -rw-r--r-- 2.8 KB
line_buffer.h -rw-r--r-- 980 bytes
line_buffer.txt -rw-r--r-- 2.4 KB
repo_tree.c -rw-r--r-- 1.0 KB
repo_tree.h -rw-r--r-- 692 bytes
sliding_window.c -rw-r--r-- 2.1 KB
sliding_window.h -rw-r--r-- 376 bytes
svndiff.c -rw-r--r-- 8.0 KB
svndiff.h -rw-r--r-- 210 bytes
svndump.c -rw-r--r-- 13.4 KB
svndump.h -rw-r--r-- 267 bytes

back to top