Skip to content

Commit

Permalink
Merge pull request #127 from mijoharas/fix-blank-branch-bug
Browse files Browse the repository at this point in the history
Only hexify branch name if it's not nil.
  • Loading branch information
sshaw authored Aug 9, 2024
2 parents 02a004a + c8731b5 commit a0a2fff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion git-link.el
Original file line number Diff line number Diff line change
Expand Up @@ -861,7 +861,9 @@ With a double prefix argument invert the value of
(not git-link-use-commit)
git-link-use-commit))
nil
(url-hexify-string branch))
(if branch
(url-hexify-string branch)
nil))
commit
start
end))))))))
Expand Down

0 comments on commit a0a2fff

Please sign in to comment.