From 76273c31a16c233c6fa2c8269ae7d99d6b30f791 Mon Sep 17 00:00:00 2001 From: Dmitri Iouchtchenko Date: Fri, 6 May 2011 21:03:24 -0400 Subject: [PATCH 1/7] fix parsing of GitHub repo paths GitHub usernames cannot start with an underscore, but they can be a single character long. --- autoload/vundle/config.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/vundle/config.vim b/autoload/vundle/config.vim index 9d49dbf..2287140 100644 --- a/autoload/vundle/config.vim +++ b/autoload/vundle/config.vim @@ -41,7 +41,7 @@ endf func! s:parse_name(arg) let arg = a:arg if arg =~? '^\s*\(gh\|github\):\S\+' - \ || arg =~? '^\w[a-z0-9-]\+/[^/]\+$' + \ || arg =~? '^[a-z0-9][a-z0-9-]*/[^/]\+$' let uri = 'https://github.com/'.split(arg, ':')[-1] let name = substitute(split(uri,'\/')[-1], '\.git\s*$','','i') elseif arg =~? '^\s*\(git@\|git://\)\S\+' From 711c611b779c230df6fbf5624f1aa31ce38ad14c Mon Sep 17 00:00:00 2001 From: Dmitri Iouchtchenko Date: Fri, 6 May 2011 21:05:12 -0400 Subject: [PATCH 2/7] update formatting and phrasing of FAQ --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3a2a791..bacbc79 100644 --- a/README.md +++ b/README.md @@ -70,9 +70,9 @@ see [`:h vundle`](vundle/blob/master/doc/vundle.txt#L1) vimdoc for more details. ## FAQ -- **Q** i'm aked for username/pass, why? - **A** Correct invalid bundle name. - this is the case of invalid name used with `Bundle`, which leads to attemt to clone nonexisting repo: +- **Q** Why am I asked for username/pass? + + **A** This is the case of invalid name used with `Bundle`, which leads to attempt to clone nonexisting repo: git clone http://github.com/gmarik/non_existin_repo Cloning into non_existin_repo... From 7467d689b54dd567bc9d2469f125f99f54f26b36 Mon Sep 17 00:00:00 2001 From: Philip Roberts Date: Thu, 12 May 2011 13:18:43 -0700 Subject: [PATCH 3/7] Fixed typo. --- doc/vundle.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/vundle.txt b/doc/vundle.txt index 4aa9c6e..1c72e37 100644 --- a/doc/vundle.txt +++ b/doc/vundle.txt @@ -7,7 +7,7 @@ CONTENTS ~ 1. About |vundle-about| 2. Why Vundle |vundle-why-vundle| 3. Quick start |vundle-quickstart| -4. Scrips |vundle-scripts| +4. Scripts |vundle-scripts| 4.1. Configure scripts |vundle-scripts-configure| 4.2. Installing scripts |vundle-scripts-install| 4.3. Updating scripts |vundle-scripts-update| From fcad9a4bbb838cc7b26977dc18df1819748c5199 Mon Sep 17 00:00:00 2001 From: gmarik Date: Thu, 12 May 2011 14:50:56 -0500 Subject: [PATCH 4/7] closes #31 - append slash to indicate directory, so expand ingnores wildignore settings --- autoload/vundle/installer.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/vundle/installer.vim b/autoload/vundle/installer.vim index e0fbdda..17fa5a3 100644 --- a/autoload/vundle/installer.vim +++ b/autoload/vundle/installer.vim @@ -62,7 +62,7 @@ func! s:helptags(rtp) abort endf func! s:sync(bang, bundle) abort - let git_dir = expand(a:bundle.path().'/.git') + let git_dir = expand(a:bundle.path().'/.git/') if isdirectory(git_dir) if !(a:bang) | return 0 | endif let cmd = 'cd '.shellescape(a:bundle.path()).' && git pull' From 62e84cfacb7cfedf474f2dc441a573f4575d9ce1 Mon Sep 17 00:00:00 2001 From: gmarik Date: Thu, 12 May 2011 18:18:45 -0500 Subject: [PATCH 5/7] test --- test/vimrc | 1 + 1 file changed, 1 insertion(+) diff --git a/test/vimrc b/test/vimrc index 172679e..a23096a 100644 --- a/test/vimrc +++ b/test/vimrc @@ -39,6 +39,7 @@ Bundle 'vim-scripts/RubySinatra' filetype plugin indent on " Automatically detect file types. set wildignore+=doc " should not break helptags +set wildignore+=.git " should not break clone BundleInstall From 997ec86eb5a0ce120897b481e841db81daaab16d Mon Sep 17 00:00:00 2001 From: Philip Roberts Date: Fri, 13 May 2011 00:45:55 -0700 Subject: [PATCH 6/7] Fixed typo in bundle installer. no new bundless installed => no new bundles installed. --- autoload/vundle/installer.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/vundle/installer.vim b/autoload/vundle/installer.vim index e0fbdda..708eb39 100644 --- a/autoload/vundle/installer.vim +++ b/autoload/vundle/installer.vim @@ -10,7 +10,7 @@ func! vundle#installer#install(bang, ...) abort call vundle#config#require(bundles) call s:log("Installed bundles:\n".join((empty(installed) ? - \ ['no new bundless installed'] : + \ ['no new bundles installed'] : \ map(installed, 'v:val.name')),"\n")) call vundle#installer#helptags(bundles) From f61f039d60b8e53e8a76f98f91f0f32ad935fad1 Mon Sep 17 00:00:00 2001 From: Daniel Hofstetter Date: Sat, 14 May 2011 00:37:16 -0700 Subject: [PATCH 7/7] Typo --- doc/vundle.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/vundle.txt b/doc/vundle.txt index 1c72e37..e0925d4 100644 --- a/doc/vundle.txt +++ b/doc/vundle.txt @@ -112,7 +112,7 @@ enabled. Except special cases requiring compilation or pre-configuration. BundleInstall allows to install scripts by name:> - :BundleIntall unite.vim + :BundleInstall unite.vim installs and activates unite.vim. You can use Tab to auto-complete known script names. NOTE: installation, as just described, doesn't automatically configure scripts;