motemen / git-vim

My vim files for Git
576 stars 73 forks source link

Fix to GitCommit() #18

Closed UlrikBuchholtz closed 13 years ago

UlrikBuchholtz commented 13 years ago

Hi! I've made a small change to keep GitCommit() working even when the user has something like: autocmd BufEnter * lcd %:p:h in their .vimrc to keep the current working dir where the buffer file is (I have that). The change should be innocent for everyone else, so I thought you might merge it.

Thanks for working on git-vim! Ulrik