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

prompt does not correctly display tag #30

Open
dbrowne opened this issue Aug 27, 2015 · 3 comments
Open

prompt does not correctly display tag #30

dbrowne opened this issue Aug 27, 2015 · 3 comments

Comments

@dbrowne
Copy link

dbrowne commented Aug 27, 2015

radar displays:
git:(upstream ⚡ detached@4560144) 2M 56A

I expected git:(upstream ⚡ my_tagName)

Is this assumption wrong?

@michaeldfallen
Copy link
Owner

The readable_branch_name function only outputs either a branch name or detached@sha. Mostly because I don't use tags that much. It's definitely something I'd like to add. Do you have any idea how to identify if a commit is associated to a tag?

@dbrowne
Copy link
Author

dbrowne commented Aug 28, 2015

@orzechow
Copy link

I would love to see that feature as we use tags regularly.

This is how to obtain a tag if there is one:

git describe --tag <commit-sha> --exact-match

gives either

fatal: no tag exactly matches '<commit-sha>'

or the tag name :)

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

No branches or pull requests

3 participants