Re: git/cscope with x86 merge

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linus Torvalds
Date: Monday, October 15, 2007 - 1:00 pm

On Mon, 15 Oct 2007, Yinghai Lu wrote:

Use

	git log -p --follow arch/x86/kernel/io_apic_64.c

where the "--follow" tells git to follow renames.

And, of course, "git blame -C" will follow renames and copying of code 
across file boundaries too.

NOTE! In both cases you may actually have to tell git to not limit its 
rename detection when it sees lots of files. You can do that 
once-and-for-all with

	git config --global diff.renamelimit 0

which should take care of it (although it seems that due to unlucky 
timing, the current stable git release does not honor the renamelimit for 
merging, so if you actually need to have git merge data across a rename, 
you should use the current "master" branch of git. Junio is sadly away 
for two weeks right now)


No idea on cscope..

		Linus
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
git/cscope with x86 merge, Yinghai Lu, (Mon Oct 15, 12:45 pm)
Re: git/cscope with x86 merge, Linus Torvalds, (Mon Oct 15, 1:00 pm)
Re: git/cscope with x86 merge, Dave Jones, (Mon Oct 15, 1:01 pm)
Re: git/cscope with x86 merge, Yinghai Lu, (Sat Oct 20, 2:40 am)
Re: git/cscope with x86 merge, Linus Torvalds, (Sat Oct 20, 8:56 am)
Re: git/cscope with x86 merge, Sam Ravnborg, (Sat Oct 20, 9:47 am)
Re: git/cscope with x86 merge, Thomas Gleixner, (Sat Oct 20, 10:39 am)
Re: git/cscope with x86 merge, Linus Torvalds, (Sat Oct 20, 11:19 am)
Re: git/cscope with x86 merge, Linus Torvalds, (Sat Oct 20, 11:49 am)
Re: git/cscope with x86 merge, Sam Ravnborg, (Sat Oct 20, 12:15 pm)
Re: git/cscope with x86 merge, Linus Torvalds, (Sat Oct 20, 12:36 pm)
Re: git/cscope with x86 merge, Sam Ravnborg, (Sat Oct 20, 1:10 pm)
Re: git/cscope with x86 merge, Andi Kleen, (Sat Oct 20, 1:44 pm)
Re: git/cscope with x86 merge, Linus Torvalds, (Sat Oct 20, 2:45 pm)