f-person / git-blame.nvim

Git Blame plugin for Neovim written in Lua
GNU General Public License v3.0
839 stars 41 forks source link

fix: use HEAD instead of head #96

Closed bossley9 closed 9 months ago

bossley9 commented 9 months ago

This fixes a bug I introduced in https://github.com/f-person/git-blame.nvim/pull/94 :sweat:

HEAD doesn't always equal head depending on how you clone a repo, but HEAD will always point to the checked out commit in the working directory. Whoops!

image