tpope / vim-fugitive

fugitive.vim: A Git wrapper so awesome, it should be illegal
https://www.vim.org/scripts/script.php?script_id=2975
19.82k stars 1k forks source link

`Git difftool -y` reports errors about newly created files #2293

Open SevereOverfl0w opened 4 months ago

SevereOverfl0w commented 4 months ago

I have a commit which introduces a new file. When running :Git difftool -y HEAD^ the following message is output for each newly created file in the commit:

fatal: path 'path/to/the/file' exists on disk, but not in 'shashashashashashashasha'

The tabs are still created, but the error message is mildly annoying.