summaryrefslogtreecommitdiff
path: root/vcs-svn/sliding_window.h
diff options
context:
space:
mode:
authorLibravatar Elia Pinto <gitter.spiros@gmail.com>2015-12-22 16:27:44 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-12-28 13:36:22 -0800
commit8db3294142a6de4f82ea1b9c7a7615ec9c7e30fd (patch)
tree10291cc4b3a7a618a3a1fc2918b2ef275194bb99 /vcs-svn/sliding_window.h
parentt/t3100-ls-tree-restrict.sh: use the $( ... ) construct for command substitution (diff)
downloadtgif-8db3294142a6de4f82ea1b9c7a7615ec9c7e30fd.tar.xz
t/t3101-ls-tree-dirname.sh: use the $( ... ) construct for command substitution
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 perl -i -pe 'BEGIN{undef $/;} s/`(.+?)`/\$(\1)/smg' "${_f}" done and then carefully proof-read. Signed-off-by: Elia Pinto <gitter.spiros@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'vcs-svn/sliding_window.h')
0 files changed, 0 insertions, 0 deletions