mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-15 14:53:51 -05:00
Taking the option that was historically a shell command and treating it as a space-delimited argument list means that there's no longer any way to include a space in an argument. Let's rectify that by reusing a simplified version of the argument parser in s:SplitExpandChain(), which handles both single and double quoted strings in a way similar to how shells do it. Of course, the ideal solution is to just use a list of strings to begin with. Support for that is added here as well. References: https://github.com/tpope/vim-fugitive/issues/1751 # This is the commit message #2: squash! Accept argument list for g:fugitive_git_executable