Skip to content

Escaping % symbols #1091

@fghimis

Description

@fghimis

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions