We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If an extension contains a quoted string, the underlying command isn't executed correctly.
$ git config git-state.extensions.print-message "printmessage \"this is the message\"" $ git state -STBLR # print-message message: this $
Use shlex so that quotes strings are maintained:
shlex
import shlex command = shlex.split('printmessage "this is the message"')
The text was updated successfully, but these errors were encountered:
b3bf40e
Merge branch 'extension-fixes'
a1042ca
Fixes issues with the new extension feature: - Extensions don't support quoted strings #20 - Empty extensions don't respect --show-empty #21
Fix splitting quoted strings
1ebbd7e
Previously, extensions with quoted string wouldn't work properly since the quotes weren't respected. Fixes #20
61625ac
No branches or pull requests
If an extension contains a quoted string, the underlying command isn't executed correctly.
Use
shlex
so that quotes strings are maintained:The text was updated successfully, but these errors were encountered: