Files
lazygit.nvim/lua/lazygit.lua
Mr. Pine 0a5fdb99ce fix: Command injection and errors when repo name contains spaces (#153)
Currently, at least `:LazyGitCurrentFile` doesn't handle paths with
spaces correctly as they aren't escaped (if your current path is a valid
shell script, this can also lead to code execution)
This PR changes the lazygit commands from strings to lists to avoid this
problem

Co-authored-by: Dheepak Krishnamurthy <1813121+kdheepak@users.noreply.github.com>
2025-07-19 10:06:52 -04:00

6.9 KiB