browse-at-remote icon indicating copy to clipboard operation
browse-at-remote copied to clipboard

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

Open gagbo opened this issue 4 years ago • 0 comments

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".

gagbo avatar Jan 07 '20 11:01 gagbo