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

For detached HEAD, include commit details in commit SHA tooltip #171

Open
chrispy-snps opened this issue Nov 26, 2022 · 2 comments
Open

Comments

@chrispy-snps
Copy link

chrispy-snps commented Nov 26, 2022

When the HEAD is detached (such as during rebase conflict resolution), currently the branch widget tooltip shows the current commit SHA:

image

It would be useful if the tooltip could also show the details of that commit (user, date, description):

image

This would be more meaningful to a writer working in a team than a bare SHA value. The same format used for the push/pull button tooltips could be used.

This would be especially useful during a multi-stage rebase resolution, as the commit SHA will step through each upstream conflicting SHA in sequence, and for the writer doing the resolution, these SHAs will be for someone else's work and not their own.

A testcase is included. The testcase uses a normal detached HEAD instead of a rebase detached HEAD for simplicity, but the enhancement should work for any detached HEAD situation.

detached.zip

@AlexJitianu
Copy link
Collaborator

Hi! I agree, the tooltip can offer more helpful information. I will schedule it for a future release.

@sorincarbunaru
Copy link
Collaborator

Note: internal issue ID is EXM-51949.

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

3 participants