Comments (7)
Hi, thanks for pointing out the issue.
The git:
prefix was introduced to workaround the problem where git asks for username when the repository doesn't exist, for example
> git clone https://github.com/tpope/vim-tpope.git
Cloning into 'vim-tpope'...
Username for 'https://github.com':
> git clone https://git:@github.com/tpope/vim-tpope.git
Cloning into 'vim-tpope'...
error: Could not resolve host: github.com while accessing https://git:@github.com/tpope/vim-tpope.git/info/refs?service=git-upload-pack
fatal: HTTP request failed
Hmm, maybe we could change the prefix to something like git:git
. I currently don't have git 1.7.7 installed, could you check if git clone https://git:[email protected]/tpope/vim-tpope.git
doesn't ask for anything?
from vim-plug.
That seems to work:
$ git clone https://git:[email protected]/tpope/vim-tpope.git
Cloning into vim-tpope...
error: The requested URL returned error: 403 while accessing https://git:[email protected]/tpope/vim-tpope.git/info/refs
fatal: HTTP request failed
$ git clone https://git:@github.com/tpope/vim-tpope.git
Cloning into vim-tpope...
Password: ^C
from vim-plug.
Thanks, how about git clone https://git::@github.com/tpope/vim-tpope.git
? Does this work as well? (looks less silly than git:git
I think)
If it works, we can easily fix this issue by putting a dummy password after :
. But before doing that, I'd like to investigate if there's a better way of handling this.
from vim-plug.
Okay, I downloaded git 1.7.8 and checked git::
also works.
from vim-plug.
Same for 1.7.7.
from vim-plug.
I decided to change the prefix to git::
. The change is backward-compatible.
Could you update and check if it resolves the problem?
from vim-plug.
It resolved the issue, thank you very much.
from vim-plug.
Related Issues (20)
- PowerShell automatic installation script. HOT 1
- [Feature Request]plugin installation declaration and plugin configuration put together HOT 2
- vim-plug buffer inside popup window HOT 4
- How to use submodules with vim-plug HOT 1
- Error when running :PlugUpgrade HOT 3
- PlugUpdate/PlugUpgrade FATAL: Could not read from remote repository HOT 1
- Activate plugin only if executable is installed HOT 1
- Vim plug and lua plugins: calling setup & config functions HOT 1
- PlugClean fails to recover when remote renamed default branch HOT 2
- How to pass configuration options (opts) to plugins? HOT 1
- PlugUpdate revert HOT 1
- (Re)load *.lua in addition to *.vim HOT 3
- Lua support? HOT 2
- Vin Plug installation problem in windows OS
- Manage the configs for each vim-plugged plugin in a separate file.
- On demand loading with user defined commands? HOT 2
- error message on opening .vimrc HOT 1
- Installation fails(?) on neovim 0.9.5 on Macos HOT 3
- Improve for https://github.com/junegunn/vim-plug/wiki/tips#automatic-installation-of-missing-plugins HOT 1
- Running multiple commands in after update hook HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vim-plug.