{"action":"created","issue":{"url":"https://api.github.com/repos/junegunn/vim-plug/issues/217","labels_url":"https://api.github.com/repos/junegunn/vim-plug/issues/217/labels{/name}","comments_url":"https://api.github.com/repos/junegunn/vim-plug/issues/217/comments","events_url":"https://api.github.com/repos/junegunn/vim-plug/issues/217/events","html_url":"https://github.com/junegunn/vim-plug/issues/217","id":70653235,"number":217,"title":"add option to only use HEAD version of git when installing","user":{"login":"marcmo","id":99541,"avatar_url":"https://avatars.githubusercontent.com/u/99541?v=3","gravatar_id":"","url":"https://api.github.com/users/marcmo","html_url":"https://github.com/marcmo","followers_url":"https://api.github.com/users/marcmo/followers","following_url":"https://api.github.com/users/marcmo/following{/other_user}","gists_url":"https://api.github.com/users/marcmo/gists{/gist_id}","starred_url":"https://api.github.com/users/marcmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcmo/subscriptions","organizations_url":"https://api.github.com/users/marcmo/orgs","repos_url":"https://api.github.com/users/marcmo/repos","events_url":"https://api.github.com/users/marcmo/events{/privacy}","received_events_url":"https://api.github.com/users/marcmo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-24T10:35:36Z","updated_at":"2015-04-25T04:57:46Z","closed_at":null,"body":"vim-plug is really fast when you update your plugins. but what can take a rather long time to do a fresh install (some plugins have a rather long git history).\r\nbut actually I'm not interested in the history.\r\n\r\ne.g. I just installed YCM which is a rather huge repo:\r\n\r\nUpdated. Elapsed time: 170.097284 sec.\r\n[============================================]\r\n...\r\n\r\n191M\t./YouCompleteMe\r\n\r\nif I just clone the HEAD version it with git:\r\n\r\n    > time git clone --depth=1 https://github.com/Valloric/YouCompleteMe.git\r\n    Cloning into 'YouCompleteMe'...\r\n    remote: Counting objects: 72, done.\r\n    remote: Compressing objects: 100% (67/67), done.\r\n    remote: Total 72 (delta 3), reused 41 (delta 0), pack-reused 0\r\n    Unpacking objects: 100% (72/72), done.\r\n    Checking connectivity... done.\r\n\r\n    real\t0m2.319s\r\n    user\t0m0.090s\r\n    sys\t0m0.084s\r\n\r\ncompare that to the full repo:\r\n\r\n    > time git clone https://github.com/Valloric/YouCompleteMe.git\r\n    Cloning into 'YouCompleteMe'...\r\n    remote: Counting objects: 29994, done.\r\n    remote: Compressing objects: 100% (7/7), done.\r\n    remote: Total 29994 (delta 0), reused 0 (delta 0), pack-reused 29987\r\n    Receiving objects: 100% (29994/29994), 29.15 MiB | 576.00 KiB/s, done.\r\n    Resolving deltas: 100% (9690/9690), done.\r\n    Checking connectivity... done.\r\n\r\n    real\t1m0.539s\r\n    user\t0m2.410s\r\n    sys\t0m2.568s\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/junegunn/vim-plug/issues/comments/96129829","html_url":"https://github.com/junegunn/vim-plug/issues/217#issuecomment-96129829","issue_url":"https://api.github.com/repos/junegunn/vim-plug/issues/217","id":96129829,"user":{"login":"atweiden","id":1638172,"avatar_url":"https://avatars.githubusercontent.com/u/1638172?v=3","gravatar_id":"","url":"https://api.github.com/users/atweiden","html_url":"https://github.com/atweiden","followers_url":"https://api.github.com/users/atweiden/followers","following_url":"https://api.github.com/users/atweiden/following{/other_user}","gists_url":"https://api.github.com/users/atweiden/gists{/gist_id}","starred_url":"https://api.github.com/users/atweiden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atweiden/subscriptions","organizations_url":"https://api.github.com/users/atweiden/orgs","repos_url":"https://api.github.com/users/atweiden/repos","events_url":"https://api.github.com/users/atweiden/events{/privacy}","received_events_url":"https://api.github.com/users/atweiden/received_events","type":"User","site_admin":false},"created_at":"2015-04-25T04:57:46Z","updated_at":"2015-04-25T04:57:46Z","body":"Any thoughts on implementing this feature from behind `if has('nvim')`?"}}