gmarik/vundle — pull request #243 by robi-wan (2012-11-28 18:53:05+00:00)
Title: escaping shell commands on windows

inspired by
https://github.com/gmarik/vundle/pull/228 and
https://github.com/gmarik/vundle/pull/172

Vim patch #445 changed shell escaping and introduced incompatabilities for vundle.
Now vundle only escapes joined commands with double quotes on windows when shellxquote is not set to '('.
This workaround closes https://github.com/gmarik/vundle/issues/146 - the mentioned workaround
is no longer needed, but it does not break a vim configurations which contains "set shellxquote=".

DRY shell escaping and modified (hopefully) all relevant places.

Tested with :BundleInstall and :BundleInstall! on Windows 7 64bit with vim 7.3.709.