git branch for 2.1.5

Ketil Froyn ketil at froyn.name
Wed Feb 23 20:34:55 CET 2011


On Wed, Feb 23, 2011 at 8:13 PM, Justin Pasher <justinp at distribion.com> wrote:
> Hello all,
>
> I'm trying to checkout the latest version (2.1.5) from the repository. I'm
> new to git, so I'm fumbling around a little bit. When I do a "git branch
> -r", the latest tag I see is origin/tags/varnish-2.1.4. It doesn't look like
> a tag exists for 2.1.5. What is the best way to check out the 2.1.5 branch
> without grabbing the latest revisions after that release? Thanks.

There's a tag called varnish-2.1.5 (and a tag for all the other
versions too), so you can do:

git checkout varnish-2.1.5

I suspect the reason is the recent conversion from subversion to git,
and how git handles tags in subversion when importing. Subversion
doesn't know the difference between branches and tags, it's more a
matter of convention there.

Cheers, Ketil




More information about the varnish-misc mailing list