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
File | Mode | Size |
---|---|---|
.gitignore | -rw-r--r-- | 22 bytes |
Makefile | -rw-r--r-- | 1.7 KB |
branches-- | -rw-r--r-- | 47 bytes |
hooks--applypatch-msg.sample | -rwxr-xr-x | 452 bytes |
hooks--commit-msg.sample | -rwxr-xr-x | 896 bytes |
hooks--post-update.sample | -rwxr-xr-x | 189 bytes |
hooks--pre-applypatch.sample | -rwxr-xr-x | 398 bytes |
hooks--pre-commit.sample | -rwxr-xr-x | 1.6 KB |
hooks--pre-push.sample | -rwxr-xr-x | 1.3 KB |
hooks--pre-rebase.sample | -rwxr-xr-x | 4.8 KB |
hooks--prepare-commit-msg.sample | -rwxr-xr-x | 1.2 KB |
hooks--update.sample | -rwxr-xr-x | 3.5 KB |
info--exclude | -rw-r--r-- | 240 bytes |
this--description | -rw-r--r-- | 73 bytes |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...