gmarik/vundle — pull request #171 by robi-wan (2012-04-29 21:11:05+00:00)
Title: Changelog does not work on Windows

I updated my vundle installation to contain the new changelog feature.
After running BundleInstall! there were a lot of updates so I pressed 'u'.
This is an extract from the result:

> Updated Bundles:
>
> Updated Bundle: vim-rails
> Compare at: https://github.com/tpope/vim-rails/compare/18622f4...3ff31b7
> fatal: Not a git repository (or any of the parent directories): .git
>
> Updated Bundle: vim-ruby
> Compare at: https://github.com/vim-ruby/vim-ruby/compare/8e4076a...6648287
> fatal: Not a git repository (or any of the parent directories): .git

The source for getting the log is in these lines: https://github.com/gmarik/vundle/blob/master/autoload/vundle/scripts.vim#L42-44

I remembered issue #45 and the fix in commit 63c3881a793727dcd214d4635a9d636bc1a3310b so I hacked this fix.

(As this is the second place for this functionality, maybe it is worth of getting its own function.)

With this change the changelog lists the updates:

>Updated Bundles:
>
>Updated Bundle: vim-repeat
>Compare at: https://github.com/tpope/vim-repeat/compare/cdffdd4...2914f11
> * Support repetition with original register Ingo Karkat, 5 months ago
> * Don't increment b:changedtick, offer invalidate instead Ingo Karkat, 5 months ago
> * Fix adding trailing spaces when 've' is not empty xaizek, 4 months ago

(To test this I locally reverted vim-repeat to an old commit.)