sublimehq / sublime_merge

Issue tracker for Sublime Merge
https://www.sublimemerge.com
274 stars 14 forks source link

Context menu option seems incorrect for hiding irrelevant commits #1880

Open edc123 opened 6 months ago

edc123 commented 6 months ago

Version info

Description

Language seems back-to-front when I right click on a commit and try to hide commits that are not related to the branch.

Steps to reproduce

  1. Right click a commit
  2. View the wording in the last three options

Expected behavior

I swear these were differently worded in prev builds. Correct me if I'm wrong but shouldn't it read "Hide all Commits except Commits on Branch" instead of the current "Hide all Branches except Branches on Commit"?

Screenshots

Screen Shot 2024-03-08 at 4 03 55 PM
dpjohnst commented 6 months ago

Hi @edc123,

Thanks for reaching out!

The behavior for the highlighted menu item above is to hide every single branch from the commit graph, except the branches pointing to the selected commit.

The use case is that a commit may have multiple branches pointing to it, and you only want to see the branches on that specific commit (hiding the rest).

Hope this clarifies things.

Cheers, - Dylan from Sublime HQ

edc123 commented 3 months ago

Oh alright, I think the confusion came from right-clicking on the branch name / tag and expecting the menu to be about the branch only.

My expectation is that right-clicking a specific branch brings up a menu that is concerned with just that branch vs. what you're saying, which is what I'd expect when, perhaps, right-clicking a commit message.