]> git.ipfire.org Git - thirdparty/git.git/commit - t/t1507-rev-parse-upstream.sh
t: use common $SQ variable
authorDenton Liu <liu.denton@gmail.com>
Thu, 5 Sep 2019 22:10:05 +0000 (15:10 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 6 Sep 2019 18:10:36 +0000 (11:10 -0700)
commitbd482d6e3348fe369b3b1db2dadbca278a0f0025
treebaba73254541c919d66fbedc1481191fcbaffbcf
parent745f6812895b31c02b29bdfe4ae8e5498f776c26
t: use common $SQ variable

In many test scripts, there are bespoke definitions of the single quote
that are some variation of this:

    SQ="'"

Define a common $SQ variable in test-lib.sh and replace all usages of
these bespoke variables with the common one.

This change was done by running `git grep =\"\'\" t/` and
`git grep =\\\\\'` and manually changing the resulting definitions and
corresponding usages.

Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1300-config.sh
t/t1404-update-ref-errors.sh
t/t1414-reflog-walk.sh
t/t1506-rev-parse-diagnosis.sh
t/t1507-rev-parse-upstream.sh
t/t3005-ls-files-relative.sh
t/t3404-rebase-interactive.sh
t/t3430-rebase-merges.sh
t/t5601-clone.sh
t/t7406-submodule-update.sh
t/test-lib.sh