Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

show-changes: Fix excessive quoting #151

Merged
merged 1 commit into from
Sep 29, 2023
Merged

Conversation

krnowak
Copy link
Member

@krnowak krnowak commented Sep 29, 2023

Single quotes inside a line like below are treated as a part of the value:

: "${foo:='bar'}"

If foo is empty or unset then it will be set to "'bar'", instead of just "bar". This resulted in the script complaining that git can't operate on directory "'scripts'".

Single quotes inside a line like below are treated as a part of the
value:

: "${foo:='bar'}"

If foo is empty or unset then it will be set to "'bar'", instead of
just "bar". This resulted in the script complaining that git can't
operate on directory "'scripts'".
@krnowak krnowak requested a review from a team September 29, 2023 11:56
@krnowak krnowak merged commit bf90dec into master Sep 29, 2023
@krnowak krnowak deleted the krnowak/fix-show-changes branch September 29, 2023 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants