]> git.ipfire.org Git - thirdparty/git.git/commit - git-submodule.sh
submodule: clean up substitutions in script
authorCasey Fitzpatrick <kcghost@gmail.com>
Thu, 3 May 2018 10:53:44 +0000 (06:53 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 22 May 2018 03:16:31 +0000 (12:16 +0900)
commitc7199e3abe0280945ef1bd65abfc48321090edb6
tree6dc75b6ffcd2d0b6dd0e41d72f966ac3d47b0e3b
parent468165c1d8a442994a825f3684528361727cd8c0
submodule: clean up substitutions in script

'recommend_shallow' and 'jobs' variables do not need quotes. They only hold a
single token value, and even if they were multi-token it is likely we would want
them split at IFS rather than pass a single string.

'progress' is a boolean value. Treat it like the other boolean values in the
script by using a substitution.

Signed-off-by: Casey Fitzpatrick <kcghost@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-submodule.sh