airblade/vim-gitgutter — pull request #45 by nandryshak (2013-03-08 15:53:12+00:00)
Title: Windows gvim infinite shell loop fix

In gvim on windows, a shell would keep spawning, causing vim to become unusable. This loop was caused by the FocusGained autocmd. I just put the autocmd in a conditional that only looks for gvim on windows (terminal vim is okay).