sshaw/git-link

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

sshaw opened this issue · 1 comments

sshaw commented

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.

Related to #14 and fixed by #127