Closed sshaw closed 3 months ago
I think this was intended to do the check, but for a file that exists in a repo that is not part of the repo, branch is "" and commit is a SHA, resulting in a link with a missing path segment:
branch
""
commit
https://github.com/sshaw/git-link/tree//xxx#L1
I think this was intended to do the check, but for a file that exists in a repo that is not part of the repo,
branch
is""
andcommit
is a SHA, resulting in a link with a missing path segment: