Skip to content

Add a commit SHA copy button to the last commit header on Code tab #8287

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

Open
mkruselj opened this issue Feb 12, 2025 · 4 comments
Open

Add a commit SHA copy button to the last commit header on Code tab #8287

mkruselj opened this issue Feb 12, 2025 · 4 comments

Comments

@mkruselj
Copy link

Description

Hello!

I'd like to propose a feature which would add the copy commit SHA button here:

Image

I feel this makes logical sense, since in many other places wherever we see a SHA, there is a copy button as well.

Thanks for your consideration!

Example URLs

https://github.com/nojanath/SublimeKSP

@fregante
Copy link
Member

Can you give me an example of its usage? Why not just type master in this case? It points to the same commit

@mkruselj
Copy link
Author

I guess that works, too. I was more thinking from UX consistency point of view, honestly.

@fregante
Copy link
Member

The problem is that there is a number of actions available for that. Copy. See full SHA. Get .patch. See parent. Before you know it we built a whole git client on it.

It's best to limit it to what you need where you need it, hence the question "why do you need it?"

@mkruselj
Copy link
Author

I find myself often on the main site of the repo and in need of copying that SHA 😅

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

No branches or pull requests

2 participants