# Re: What's in git.git and announcing GIT v1.5.0-rc1

3 messages from 2007-01-15 to 2007-01-15. Participants: Horst H. von Brand, lamikr, Junio C Hamano.
Thread: https://gitlist.dev/t/6389

## Horst H. von Brand, 2007-01-15 02:21

Subject: Re: What's in git.git and announcing GIT v1.5.0-rc1
Message-ID: <200701150221.l0F2LlwJ016982@laptop13.inf.utfsm.cl>
URL: https://gitlist.dev/e/200701150221.l0F2LlwJ016982%40laptop13.inf.utfsm.cl
In-Reply-To: <lamikr@cc.jyu.fi>

```
lamikr <lamikr@cc.jyu.fi> wrote:
> Junio C Hamano wrote:
> > The tip of 'master' branch is tagged as v1.5.0-rc1; this means a
> > few things:
> >   
> Hi
> 
> Would it make sense to add something like this to the announcements as
> it is not very easy to find references to the git-repository itself from
> the net.
> 
>    You can get the git repository-itself by using a following commands
> 
>            git-clone git://git.kernel.org/pub/scm/git/git.git git_repo
> 
>    After that you can switch to tagged version <v1.5.0-rc1> or sources
> from the repository by using command
> 
>           git-checkout -f v1.5.0-rc1 master
> 
>    Alternatively you can download the tar packed version of sources from
>       
>           http://www.kernel.org/pub/software/scm/git/

Be careful, this gives you a old-fashioned repository, the repositories
created by 1.5.0-rc are different, and 1.4.4.4 doesn't grok them:

   * refusing to create funny ref 'remotes/origin/*' locally
-- 
Dr. Horst H. von Brand                   User #22616 counter.li.org
Departamento de Informatica                    Fono: +56 32 2654431
Universidad Tecnica Federico Santa Maria             +56 32 2654239
Casilla 110-V, Valparaiso, Chile               Fax:  +56 32 2797513

```

## lamikr, 2007-01-15 20:54

Subject: Re: What's in git.git and announcing GIT v1.5.0-rc1
Message-ID: <45ABE9FD.4050601@cc.jyu.fi>
URL: https://gitlist.dev/e/45ABE9FD.4050601%40cc.jyu.fi
In-Reply-To: <200701150221.l0F2LlwJ016982@laptop13.inf.utfsm.cl>

```

>> Would it make sense to add something like this to the announcements as
>> it is not very easy to find references to the git-repository itself from
>> the net.
>>
>>    You can get the git repository-itself by using a following commands
>>
>>            git-clone git://git.kernel.org/pub/scm/git/git.git git_repo
>>
>>    After that you can switch to tagged version <v1.5.0-rc1> or sources
>> from the repository by using command
>>
>>           git-checkout -f v1.5.0-rc1 master
>>
>>    Alternatively you can download the tar packed version of sources from
>>       
>>           http://www.kernel.org/pub/software/scm/git/
>>     
>
> Be careful, this gives you a old-fashioned repository, the repositories
> created by 1.5.0-rc are different, and 1.4.4.4 doesn't grok them:
>
>    * refusing to create funny ref 'remotes/origin/*' locally
>   
So that would also not work if one uses git-1.4.4 client for fetching
from the git-1.5.x repository?
How one is then supposed to jump from head/master to tagged version?

Mika

```

## Junio C Hamano, 2007-01-15 21:56

Subject: Re: What's in git.git and announcing GIT v1.5.0-rc1
Message-ID: <7vtzys0xag.fsf@assigned-by-dhcp.cox.net>
URL: https://gitlist.dev/e/7vtzys0xag.fsf%40assigned-by-dhcp.cox.net
In-Reply-To: <45ABE9FD.4050601@cc.jyu.fi>

```
lamikr <lamikr@cc.jyu.fi> writes:

>> Be careful, this gives you a old-fashioned repository, the repositories
>> created by 1.5.0-rc are different, and 1.4.4.4 doesn't grok them:
>>
>>    * refusing to create funny ref 'remotes/origin/*' locally
>>   
> So that would also not work if one uses git-1.4.4 client for fetching
> from the git-1.5.x repository?

That is untrue.  You do not care (nor you would not generally be
even to tell) which version the repository at the remote end was
prepared with when cloning or fetching from a remote git
repository.

A new repository created by 'git-clone' in 1.5.0 will create the
repository with default configuration that uses a new feature to
allow all (present or future) remote branches tracked.  

The feature is
"refspec wildcard" and looks like this:

	[remote "origin"]
        fetch = +refs/heads/*:refs/remotes/origin/*

1.4.4 and older do not understand this new feature used in the
configuration, so if you create a new repository by running
1.5.0 clone, you would need to futz with the configuration file
if we want to use that repository with 1.4.4; you would need to
specify the branches you would want individually:

	[remote "origin"]
        fetch = +refs/heads/master:refs/remotes/origin/master
        fetch = +refs/heads/next:refs/remotes/origin/next

Even if you are updating to 1.5.0, if you will never be
interested in some of the remote branches, the above to exclude
unwanted ones is a good trick to know.

```
