On 2023-02-27, Bram Moolenaar wrote: > So, can this issue be closed, or should we change something in Vim? > E.g. adding that :unlet command in the diff filetype plugin?
I think it could be closed, but it's not my issue. I don't think there is anything to change in Vim. There are a few other GIT_ environment variables that I unlet in my vimrc because their presence causes odd behavior of git commands launched from Vim or in subshells of Vim, but some users may want to know about the presence of those variables or their values, so I wouldn't automatically unlet them in, say, defaults.vim. The "git difftool" command opens files in their normal file type, so the diff filetype plugin wouldn't apply. By the time the "git diff" command is executed, it's too late to change the command's behavior. At least that's what I observe with my bash, git and Vim configurations. Regards, Gary -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/20230228021055.GD10570%40phoenix.
