Skip to content

'd' in main view ignores selection when used with 'set cmdline-args = --all' #431

@bchallenor

Description

@bchallenor

When in the main view, it's useful to be able to use 'd' or 'enter' to interact with the highlighted commit.

However I recently wanted to make --all the default when opening tig, and I found that I could do this by adding set cmdline-args = --all to tigrc. Now it seems that the highlighted commit is ignored - instead 'd' and 'enter' always apply to the last commit on master.

Interestingly this doesn't happen when I run tig --all directly, instead of specifying it in tigrc. So I'm not sure if this is a bug, or if attempting to set --all with cmdline-args is an unsupported hack. (In which case is there a better way to do 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