The GitBlameOpenFileURL and GitBlameCopyFileURL commands construct file urls based on the remote url's current branch but disregard information that may have been committed since then, causing these commands to sometimes return the wrong line numbers. To fix this, I have modified these commands to use the latest commit SHA in the constructed file url. I believe this also fixes https://github.com/f-person/git-blame.nvim/issues/87.
The
GitBlameOpenFileURL
andGitBlameCopyFileURL
commands construct file urls based on the remote url's current branch but disregard information that may have been committed since then, causing these commands to sometimes return the wrong line numbers. To fix this, I have modified these commands to use the latest commit SHA in the constructed file url. I believe this also fixes https://github.com/f-person/git-blame.nvim/issues/87.