fork-dev / Tracker

Bug and issue tracker for Fork for Mac
498 stars 12 forks source link

Double click on commit doesn't lead to checkout #1969

Closed homm closed 10 months ago

homm commented 10 months ago

The problem is only happens with commits market as origin branches.

Screenshot 2023-09-15 at 13 28 11

Don't know was it working before.

DanPristupov commented 10 months ago

You can't checkout a remote branch, so Fork makes checkout of the corresponding local branch.

If you want to checkout a commit and go to detached HEAD, you must do that explicitly: Right click -> Checkout commit.

homm commented 10 months ago

If you want to checkout a commit and go to detached HEAD

Yes, this is what I want. For me this commit is the same as other nearest commits, which I can checkout in detached HEAD. Don't know how clear such behavior could be for most users.

DanPristupov commented 10 months ago

Don't know how clear such behavior could be for most users.

It's more important not to switch to detached HEAD unintentionally.

homm commented 10 months ago

I'm ok with this if this is intentional.