Giter Club home page Giter Club logo

Comments (8)

Shougo avatar Shougo commented on August 16, 2024

I don't think it is fatal bug and neobundle development is over.

I have tested it in dein.vim. dein.vim works properly.

So closing.

from neobundle.vim.

Shougo avatar Shougo commented on August 16, 2024

I have checked the source code.

If you use "release", it means use released tag instead of the branch.
So it is feature of neobundle.vim.

function! s:type.get_revision_lock_command(bundle) abort "{{{
  if !executable(g:neobundle#types#git#command_path)
    return ''
  endif

  let rev = a:bundle.rev
  if rev ==# 'release'
    " Use latest released tag
    let rev = neobundle#installer#get_release_revision(a:bundle,
          \ g:neobundle#types#git#command_path . ' tag')
  endif
  if rev == ''
    " Fix detach HEAD.
    let rev = 'master'
  endif

  return g:neobundle#types#git#command_path . ' checkout ' . rev
endfunction"}}}

from neobundle.vim.

Shougo avatar Shougo commented on August 16, 2024

It is already documented. Please read the documentation.

		rev			(String)
		Specify a revision number or branch/tag name.
		If it is "release" in "git" type, neobundle will use latest
		released tag.

from neobundle.vim.

HaleTom avatar HaleTom commented on August 16, 2024

Thanks for your replies!

I'm now using:

NeoBundle 'neoclide/coc.nvim', { 'rev': 'release' }

But still, I have a detached HEAD at v0.0.71.

How do I make NeoBundle download and checkout release branch?

from neobundle.vim.

HaleTom avatar HaleTom commented on August 16, 2024

I don't understand the difference between raw type and git type:

If it is "release" in "git" type, neobundle will use latest released tag.
Note: If the type is "raw", rev is hash number.

If it isn't possible to checkout a branch called release, then that's fine, I just want to make sure that I'm not missing anything with the format of the value of rev.

from neobundle.vim.

Shougo avatar Shougo commented on August 16, 2024

How do I make NeoBundle download and checkout release branch?

It is not possible. It is not supported.

If you use "release", it means use released tag instead of the branch.

Please read this.

from neobundle.vim.

Shougo avatar Shougo commented on August 16, 2024

If it isn't possible to checkout a branch called release, then that's fine

It is not possible. You are not missing anything.

from neobundle.vim.

HaleTom avatar HaleTom commented on August 16, 2024

Cheers! Thanks for making it crystal clear!

from neobundle.vim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.