Skip to content

FR: Support for trailer separator customization #6837

Open
@dolangish

Description

@dolangish

Is your feature request related to a problem? Please describe.
In git, I can customize my trailer separator. This is the character that delimits the key from the value. By default it is a colon, but git allows users to customize it in their config.

Describe the solution you'd like
I would like jj to also allow customization of this separator.

Describe alternatives you've considered
To match git's functionality here seems like the most obvious solution, so I haven't considered alternatives.

Additional context
For me, I have a trailer in the format of key-value instead of key:value. I need to extract it for display in my one-line log messages as it's a jira task id.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions