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

Escaping % symbols #1091

Closed
fghimis opened this issue Mar 10, 2021 · 1 comment
Closed

Escaping % symbols #1091

fghimis opened this issue Mar 10, 2021 · 1 comment

Comments

@fghimis
Copy link

fghimis commented Mar 10, 2021

Hello! Is there a way to escape % symbols in external commands?

I want to be able to use echo %(commit) and to output %(commit) instead of the commit's hash.
I have tried with %% or \% but it doesn't work - format errors.

I would like to use %(refname) in a git rev-parse, but tig substitutes it.

@fghimis
Copy link
Author

fghimis commented Mar 11, 2021

I managed to do it with git aliases.

@fghimis fghimis closed this as completed Mar 11, 2021
koutcher added a commit to koutcher/tig that referenced this issue Mar 23, 2021
koutcher added a commit that referenced this issue May 21, 2021
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

No branches or pull requests

1 participant