8 Commits
Author SHA1 Message Date
mattnandGitHub 8b45742540 Disable credential.helper for git fetch (#1046) 2020-12-14 14:30:44 +09:00
mattnandGitHub c44422460e Disable credential-helper (#1026) 2020-10-20 20:48:58 +09:00
b17f477585 Reduce the number of git processes for faster operation (#937)
* Make git operation faster

When using many plugins, vim-plug may spawn many git processes for them.

* get revision
* get branch
* get remote.origin.url

This is too heavy. especially on Windows. This change get revision, branch,
remote origin url directly from .git directory.

This idea is borrowed from @k-takata's commit for minpac.

Executing external programs is slow especially on Windows.
Read the information directly from .git directory.

* Copied from devel branch of minpac

* Avoid errors

* Show errors

* Use empty()

* Use empty string instead of v:null

* Check spec.branch is empty

* Use branch

* Fix branch and revision

* Remove l: and use s:trim

* Fix and simplify s:git_get_remote_origin_url

* Do not cut off commit hash for correctness

Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
2020-09-08 22:13:21 +09:00
Yasuhiro MatsumotoandJunegunn Choi 588467903b Use branch 2020-08-30 02:05:50 +09:00
Yasuhiro MatsumotoandJunegunn Choi 5706f70f8f Add missing function 2020-08-30 02:05:50 +09:00
Yasuhiro MatsumotoandJunegunn Choi 4a3c5e7ac2 Support non-master default branch 2020-08-30 02:05:50 +09:00
Yasuhiro MatsumotoandJunegunn Choi b32169ff30 Use job_start on vim
Close #498
Close #534
2016-10-17 16:16:03 +09:00
Yasuhiro MatsumotoandJunegunn Choi 060c0e6d6c Enable multi-thread on windows
Specify PIPE as stdin for subprocess.Pipe for gvim.exe.
Also fixes some ruby implementation.

* windows doesn't have pgrep.
* windows can't handle SIGTERM.
* windows can't handle /dev/null
* redraw always
2015-12-10 01:00:42 +09:00