Skip to content

Omit remote branch name if it's the same as the local branch name #12

@waldyrious

Description

@waldyrious

It's very common for the local branch name to match the upstream one. When this happens, the branch names take up a needlessly long space in the commit graph, especially if the Commit history > Ref indicators configuration option is set to "Show full ref names".

It would be nice if, when the branch names coincide locally and in upstream, that the display is shown more compactly, e.g.

some-branch-name ☁️ origin/(=) Example commit message

instead of the current

some-branch-name ☁️ origin/some-branch-name Example commit message

Also, if #11 is implemented, this could be even more compact:

some-branch-name ☁️ (=) Example commit message

Of course, any other compact way to indicate that the remote branch name is the same as the local one would work, in case you don't like "(=)" 🙂

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions