# strange behavior when pulling updates / get uptodate with git.git

3 messages from 2006-04-08 to 2006-04-08. Participants: Nicolas Vilz 'niv', Junio C Hamano.
Thread: https://gitlist.dev/t/3832

## Nicolas Vilz 'niv', 2006-04-08 19:57

Subject: strange behavior when pulling updates / get uptodate with git.git
Message-ID: <4438158C.1080208@iaglans.de>
URL: https://gitlist.dev/e/4438158C.1080208%40iaglans.de

```
Hello guys,

I experience a loss of tags- and branch-updates, when I try to update my
repository.

I normaly do following

git checkout master
git pull origin

my .git/remotes/origin-file looks like this:

URL: git://git.kernel.org/pub/scm/git/git.git
Pull: refs/heads/master:refs/heads/origin
Pull: refs/heads/todo:refs/heads/todo
Pull: refs/heads/maint:refs/heads/maint
Pull: refs/heads/pu:refs/heads/pu
Pull: refs/heads/man:refs/heads/man
Pull: refs/heads/next:refs/heads/next
Pull: refs/heads/html:refs/heads/html

so i suppose, if i try to pull origin, and i am in master, i should be
able to pull these remote heads each in the correct local head...

But I obviously don't.

after deleting the actual git-repository directory and recloning with

git clone <url>

I have obviously more tags than git was trying to merge before at git
pull origin..

I use git version 1.3.0.rc1.g4c0f (located in the next-tree).

Any hints how this could be better on my system?

Sincerly
Nicolas

```

## Junio C Hamano, 2006-04-08 20:55

Subject: Re: strange behavior when pulling updates / get uptodate with git.git
Message-ID: <7vmzeveqin.fsf@assigned-by-dhcp.cox.net>
URL: https://gitlist.dev/e/7vmzeveqin.fsf%40assigned-by-dhcp.cox.net
In-Reply-To: <4438158C.1080208@iaglans.de>

```
Nicolas Vilz 'niv' <niv@iaglans.de> writes:

> URL: git://git.kernel.org/pub/scm/git/git.git
> Pull: refs/heads/master:refs/heads/origin
> Pull: refs/heads/todo:refs/heads/todo
> Pull: refs/heads/maint:refs/heads/maint
> Pull: refs/heads/pu:refs/heads/pu
> Pull: refs/heads/man:refs/heads/man
> Pull: refs/heads/next:refs/heads/next
> Pull: refs/heads/html:refs/heads/html
>
> so i suppose, if i try to pull origin, and i am in master, i should be
> able to pull these remote heads each in the correct local head...
>
> But I obviously don't.

Most likely it is aborted by the "pu" branch not
fast-forwarding.

	Pull: +refs/heads/pu:refs/heads/pu

or dropping "pu" altogether if you are not interested in it,
would help.  My repositories (the ones I fetch/pull from for
testing) have only these:

        URL: git://git.kernel.org/pub/scm/git/git.git
        Pull: refs/heads/master:refs/heads/origin
        Pull: refs/heads/next:refs/heads/next
        Pull: +refs/heads/pu:refs/heads/pu
        Pull: refs/heads/maint:refs/heads/maint

```

## Nicolas Vilz 'niv', 2006-04-08 21:19

Subject: Re: strange behavior when pulling updates / get uptodate with git.git
Message-ID: <443828CE.4070707@iaglans.de>
URL: https://gitlist.dev/e/443828CE.4070707%40iaglans.de
In-Reply-To: <7vmzeveqin.fsf@assigned-by-dhcp.cox.net>

```
Junio C Hamano wrote:
> Most likely it is aborted by the "pu" branch not
> fast-forwarding.
> 
> 	Pull: +refs/heads/pu:refs/heads/pu
> 
> or dropping "pu" altogether if you are not interested in it,
> would help.  

Thank you, the +-sign helped me out.

Sincerly
Nicolas

```
