git-link icon indicating copy to clipboard operation
git-link copied to clipboard

Invalid Link When In Detach Head State & git-link-use-commit is nil

Open sshaw opened this issue 5 years ago • 0 comments

If we have no branch and git-link-use-commit is nil we'll get an empty path segment, e.g., path//foo. Under these circumstances we should should signal a "cannot figure out what to link to" error and not return a link.

sshaw avatar Mar 22 '20 01:03 sshaw