dawsers / telescope-file-history.nvim

Neovim local file history managed by git and Telescope
MIT License
12 stars 5 forks source link

disable gpgsign on the initialized history git repo #1

Closed miki725 closed 1 year ago

miki725 commented 1 year ago

this explicitly disables gpg signing on the history repo in case global git config enables it

this is especially useful when gpg signature requires external interaction such as with a YubiKey

dawsers commented 1 year ago

Perfect, thanks! There is just one small thing, it seems git-config options are moving to camel case https://github.com/git/git/commit/da0005b8853137c91e44867d899910d5c7eb4425

So it would be self:_git_command({ 'config', '--local', 'commit.gpgSign', 'false' })

miki725 commented 1 year ago

thanks! didnt realize configs were being renamed. adjusted PR and will be adjusting my own configs too