summaryrefslogtreecommitdiff
path: root/t/helper/test-mktemp.c
diff options
context:
space:
mode:
authorLibravatar Elia Pinto <gitter.spiros@gmail.com>2022-03-13 17:28:29 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2022-03-13 19:03:32 +0000
commitc614beb933f7ef45b4921b1ea344d4a03a701679 (patch)
treeaead046c1404f2ef33f63100f6f88a0034f710f6 /t/helper/test-mktemp.c
parentGit 2.35.1 (diff)
downloadtgif-c614beb933f7ef45b4921b1ea344d4a03a701679.tar.xz
t6423-merge-rename-directories.sh: use the $(...) construct
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 shellcheck -i SC2006 -f diff ${_f} | ifne git apply -p2 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 't/helper/test-mktemp.c')
0 files changed, 0 insertions, 0 deletions