git error:data contained a nul byte that could not be represented as a string
Describe the bug A clear and concise description of what the bug is.
Using LazyVim (fully updated), and trying to manage git via lazygit (space gg) I can stage files just fine, press 'c' to commit, I enter a commit message and press control-d to commit. then I 'p' to push, and get an error popup: git error:data contained a nul byte that could not be represented as a string
To Reproduce Steps to reproduce the behavior:
- make a change in a git repository [using lazyvim]
- space-gg to open lazygit
- stage changes
- press 'c' to commit
- enter commit message
- press control-d to commit
- press 'p' to push
- achieve nul byte error
Expected behavior the commit should be pushed to the origin repository
Version info:
Run lazygit --version and paste the result here
commit=, build date=, build source=homebrew, version=0.42.0, os=darwin, arch=arm64, git version=2.45.2
Run git --version and paste the result here
git version 2.45.2
Additional context pushing commits from command line 'git' works fine, pushing via the 'git browse' in lazyvim works fine