Skip to content

feature request: toggle between all / only the given commits in --stdin mode #1355

@calestyo

Description

@calestyo

Hey.

I have a script, which does about like that:

git log --format=%H --no-patch -L "$@"  |  tig --stdin --no-walk

so I can call myscript 100,200:someFile and tig will show me only the commits which touched lines 100-200 as of the current HEAD, which is quite nice.

But often it would then be handy to actually see the other commits, too, like in the main view… e.g. maybe having some key where one can toggle between showing only the commits given via stdin, and also all others.

If all are shown, it would be nice if there was some colour distinction (especially in the main view), and maybe two keys, which allow me to jump to the next/previous of the selected ones, amongst all.

Thanks,
Chris.

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