strange behavior when pulling updates / get uptodate with git.git
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
Quoted 9 lines · Nicolas Vilz 'niv
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
Quoted 4 lines
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
Quoted 7 lines · Junio C Hamano
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