Commit c614beb
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>1 parent 4c53a8c commit c614beb
1 file changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4421 | 4421 | | |
4422 | 4422 | | |
4423 | 4423 | | |
4424 | | - | |
| 4424 | + | |
4425 | 4425 | | |
4426 | 4426 | | |
4427 | 4427 | | |
4428 | 4428 | | |
4429 | 4429 | | |
4430 | 4430 | | |
4431 | | - | |
| 4431 | + | |
4432 | 4432 | | |
4433 | 4433 | | |
4434 | 4434 | | |
| |||
4511 | 4511 | | |
4512 | 4512 | | |
4513 | 4513 | | |
4514 | | - | |
| 4514 | + | |
4515 | 4515 | | |
4516 | 4516 | | |
4517 | 4517 | | |
| |||
4520 | 4520 | | |
4521 | 4521 | | |
4522 | 4522 | | |
4523 | | - | |
| 4523 | + | |
4524 | 4524 | | |
4525 | 4525 | | |
4526 | 4526 | | |
| |||
4759 | 4759 | | |
4760 | 4760 | | |
4761 | 4761 | | |
4762 | | - | |
| 4762 | + | |
4763 | 4763 | | |
4764 | 4764 | | |
4765 | 4765 | | |
| |||
0 commit comments