On Fri, Mar 27, 2015 at 9:13 AM, Peter Aronoff <telemac...@arpinum.org>
wrote:

> On Friday, March 27th, 2015 at 9:11AM, Bram Moolenaar wrote:
> >
> > Kana Natsuno wrote:
> >
> > > On Friday, March 27, 2015 at 5:00:19 AM UTC+9, Bram Moolenaar wrote:
> > > > Isn't there a way to clone only up to some time ago, e.g., the 7.4
> > > > release?  I rather leave this a decision on the user side than on the
> > > > server side (meaning that history would be lost forever).
> > >
> > > git clone --depth 1
> >
> > Right, that is what I was looking for.  So whoever just wants a
> > convenient way to pull the latest version can use this as the fastest
> > method.  We should add this to the instructions (e.g. for users who have
> > limited bandwidth).
>
> For users who do this, when they update, I believe they will need the
> following:
>
>     git pull --update-shallow
>
> Otherwise, any normal update (via `git pull` or `git fetch`) will pull down
> everything.


No, that's not the case.  You can just do a regular git pull.  I do this
all the time with other repos that I shallowly clone, such as Homebrew.

If you *want* to pull in the full history after starting with a shallow
clone, then you need to add flags.  E.g., `git fetch --unshallow`.

-Manny

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui