mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-08 11:33:48 -05:00
This prevents git-ls-files from escaping "unusual" characters in pathnames. When this happened, gitgutter would feed the escaped name back to git-show but git-show would not recognise it. This commit makes git-ls-files use the -z option to output pathnames verbatim. These pathnames also become null terminated so we have to ensure we remove the null terminator too. Closes #562.