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

browse-remote-prefer-symbolic does not fallback to git revision in detached HEAD state #61

Open
gagbo opened this issue Jan 7, 2020 · 0 comments

Comments

@gagbo
Copy link

gagbo commented Jan 7, 2020

Thanks for the package :)

This let-binding doesn't fall back nicely to the git revision if we're in detached HEAD but still prefering the symbolic name when available.

It would be better to try and get the git revision when vc-git-symbolic-ref returns nil, or maybe change the name of the variable to explicitely tell that "prefer" is actually "force-or-nil".

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

1 participant