tpope/vim-fugitive — pull request #583 by blueyed (2014-12-02 23:38:01+00:00)
Title: Expand `%` instead of `<amatch>` in the Buf* autocommands

This is relevant in case a previous BufReadPost autocmd changes the file
name using `:file` - fugitive should use the new/current name then.