Re: [PATCH 1/3] x86: clean up asm-x86/page*.h

From: Ingo Molnar
Date: Thu Dec 13 2007 - 16:33:30 EST



* Jeremy Fitzhardinge <jeremy@xxxxxxxx> wrote:

> I can't reproduce that specific compile error, but I found & fixed a
> couple of problems with your config.
>
> BTW, I'm having a workflow problem using git to fetch your tree. When
> I do:
>
> $ git-pull git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-x86.git mm
> remote: Generating pack...
> remote: Done counting 3454 objects.
> Result has 2947 objects.
> remote: Deltifying 2947 objects...
> remote: 100% (2947/2947) done
> Indexing 2947 objects...
> remote: Total 2947 (delta 2559), reused 2432 (delta 2066)
> 100% (2947/2947) done
> Resolving 2559 deltas...
> 100% (2559/2559) done
> 458 objects were added to complete this thin pack.
> Renamed arch/x86/crypto/twofish_64.c->arch/x86/crypto/twofish.c
> Auto-merged arch/x86/crypto/twofish.c
> Renamed arch/x86/ia32/vsyscall-syscall.S->arch/x86/vdso/vdso32/syscall.S
> Auto-merged arch/x86/vdso/vdso32/syscall.S
> Renamed arch/x86/kernel/ldt_32.c->arch/x86/kernel/ldt.c
> Auto-merged arch/x86/kernel/ldt.c
> CONFLICT (content): merge conflict in arch/x86/kernel/ldt.c
> Renamed arch/x86/kernel/sysenter_32.c->arch/x86/vdso/vdso32-setup.c
> Auto-merged arch/x86/vdso/vdso32-setup.c
> Renamed arch/x86/kernel/vsyscall-int80_32.S->arch/x86/vdso/vdso32/int80.S
> Auto-merged arch/x86/vdso/vdso32/int80.S
> ...
>
>
> I haven't made any local changes and I don't want to merge anything -
> I just want to get an up to date copy of your tree. What am I missing
> here? I end up having to ssh into master.kernel.org, look at
> linux-2.6-x86.git/refs/heads/mm and then do "git reset --hard XXX"
> from that, which doesn't seem like the right answer...

yeah. x86.git is "history-less" tree, as it frequently shrinks and grows
we dont want to burden upstream's history with that pach management
noise.

This means that it's a fresh new git tree every time i update it, not
the usual append-only git history that is a descendant of the previous
x86.git tree that you pulled.

You can force git to non-append jump-pull the remote via changing
.git/refs/remotes/origin/HEAD from:

ref: refs/remotes/origin/master

to:

ref: +refs/remotes/origin/master

or you can use git-pull --force, but IMHO it's safer to edit the refspec
because a mistaken --force can mess up some other tree by accident. Hope
this helps,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/