tpope/vim-fugitive — pull request #433 by blueyed (2014-02-03 19:00:25+00:00)
Title: Check `&diff` first in fugitive_diff autocmds

This avoids calling `s:diff_window_count` in the common (non-diff) case.