bling/vim-airline — pull request #497 by johnathanz (2014-04-23 17:07:46+00:00)
Title: doesn't assume user has 'set autochdir' set

This fix solves the potential issue scenario:
1) User doesn't have 'set autochdir' in their vimrc
2) They open file1 from branch Master. Hunks show 'Master'
3) They open file2 which is untracked (or from different branch). Hunks still show 'Master' as directory from (2) is retained by getcwd()

NB: Also affects vim-signify & vim-gitgutter