Re: git/cscope with x86 merge

From: Sam Ravnborg
Date: Sat Oct 20 2007 - 15:14:29 EST


On Sat, Oct 20, 2007 at 11:49:51AM -0700, Linus Torvalds wrote:
>
>
> On Sat, 20 Oct 2007, Linus Torvalds wrote:
> >
> > I could perhaps look at making "git log --follow" also break up files that
> > got totally rewritten (git already has a notion of "-B" to do that), but
> > no, we don't do it right now.
>
> Ok, if you guys have a current git source, and want to try something out,
> this fairly small patch does this.

I pulled next branch of git and applied your patch.

When running
git log --follow -B arch/x86/kernel/vmlinux_64.lds.S

I got no output at all (in a newly pulled linux kernel dir).
When I ran
git log arch/x86/kernel/vmlinux_64.lds.S
I got:

commit 250c22777fe1ccd7ac588579a6c16db4c0161cc5
Author: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Date: Thu Oct 11 11:17:24 2007 +0200

x86_64: move kernel

Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Signed-off-by: Ingo Molnar <mingo@xxxxxxx>

With -B alone I got same output.
When I add --follow I get no output.

I could not get back to my previous git binary - I replaced it
with the new one.

cat ~/.gitconfig

[diff]
renamelimit = 0


Sam
-
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/