summaryrefslogtreecommitdiff
path: root/column.h
diff options
context:
space:
mode:
authorLibravatar Elia Pinto <gitter.spiros@gmail.com>2016-01-04 10:10:45 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-01-04 13:43:47 -0800
commite3a75be3fe225429e3ee6a8f2ad865dc9f3c69e9 (patch)
tree9e27b2cbf078252e96c175a01100385ed327ee0c /column.h
parentt/t5532-fetch-proxy.sh: use the $( ... ) construct for command substitution (diff)
downloadtgif-e3a75be3fe225429e3ee6a8f2ad865dc9f3c69e9.tar.xz
t/t5537-fetch-shallow.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 'column.h')
0 files changed, 0 insertions, 0 deletions