Skip to content

FR: Allow for setting --reversed globally in the config file #5203

@barakmich

Description

@barakmich

Is your feature request related to a problem? Please describe.

I set my ui.default_command to be log --reversed (even as suggested in the documentation) and I really like the reversed style. While there's also recent work related to reversing (eg, #5170), it would be nice to make reversing log order a global option, especially for when I'm running jj log -r QUERY and then forget to add --reversed every time.

Describe the solution you'd like

A configuration option for what seems to eventually be a family of --reversed flags, to invert their behavior. Some examples include:

ui.always_reversed = true
ui.top_to_bottom = true

Or if not globally, a consistent flag for each subcommand

log.default_reversed = true

(but it feels more ui to me 🤷)

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