summaryrefslogtreecommitdiff
path: root/check-builtins.sh
Commit message (Collapse)AuthorAgeFilesLines
* check-builtins: strip executable suffix $X when enumerating builtinsss/check-builtins-on-windowsSebastian Schuberth2015-02-051-1/+1
| | | | | | | On Windows, the builtin executable names are suffixed with $X. Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
* check-builtins.sh: use the $(...) construct for command substitutionElia Pinto2014-03-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | 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> Signed-off-by: Junio C Hamano <gitster@pobox.com>
* cherry is built-in, do not ship git-cherry.shJunio C Hamano2006-11-051-0/+34
Noticed by Rene; Makefile now has another maintainer's check target to catch this kind of mistakes. Signed-off-by: Junio C Hamano <junkio@cox.net>