chrisbra/changesPlugin — pull request #4 by ScOut3R (2012-01-14 17:21:25+00:00)
Title: filereadable check in GetDiffs

Dear chrisbra,

i've put a filereadable check in GetDiffs. It's useful if the plugin is enabled on a not yet saved new file and/or the plugin is enabled with autocmd through vimrc. At least i had some nasty error messages if i tried to enable it on a new, not saved file (and i'm loading this plugin through vimrc so it happens quite a few times). With this small addition vim displays a notice to the user and no exceptions happens.

Best regards,
Mate