Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Highlight commits/branch lines of when selecting a merge commit #2009

Open
themilkman opened this issue Feb 17, 2025 · 0 comments
Open

Highlight commits/branch lines of when selecting a merge commit #2009

themilkman opened this issue Feb 17, 2025 · 0 comments

Comments

@themilkman
Copy link

Problem description

I am often reviewing merge commits (and do not necessarily have those checked out).
It'd be helpful to have a visual indicator to see which commits are in the history of the currently selected merge commit would help to distinguish them from others on not yet merged branches.
Hiding all other branches is a possible workaround, but not very comfortable.

Preferred solution

When clicking on a merge commit, add a visualization.
A visual indicator could be (in the commit section):

  • coloring the branch lines starting from the merge commit (maybe until the root or until the initial commit).
  • changing the background color of all parent commits slightly
  • a colored, thicker border on the right side of a commit "row" (to the right of the commit time). Of course without always re-aligning/moving the time text

That'd allow to read the commit messages and the eyes wouldn't have to look on which branch the commit is by scanning the branch lines and search the commit dot while remembering which color the branches had that you are following.

Alternatives

This could also be the default, not only when clicking a merge commit but for all commits. Always show "this commit is a in the history of the selected commit".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant