SuperBo / fugit2.nvim

Neovim git GUI powered by libgit2
MIT License
332 stars 7 forks source link

bug: signed init commit aka first commit fails #73

Closed sagarc03 closed 1 month ago

sagarc03 commented 1 month ago

Did you check docs and existing issues?

Neovim version (nvim -v)

NVIM v0.10.0 Build type: Release LuaJIT 2.1.1716656478

Operating system/version

macOs Sonoma 14.5

Describe the bug

Initial commit failed with following error "[Fugit2] Failed to get git head. Error code -9" when using signed commit.

Steps To Reproduce

  1. Create a new git repo
  2. Create a README.md add random text
  3. Open Neovim and try to init signed commit via Fugit

Expected Behavior

Create a signed commit

SuperBo commented 1 month ago

Hi @sagarc03, https://github.com/SuperBo/fugit2.nvim/pull/75 should fix this bug. Can you verify it works?

sagarc03 commented 4 weeks ago

seems to be working perfect

SuperBo commented 4 weeks ago

Thank @sagarc03 for your report. I seem to overlook this.