Re: arch merge fallout.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 12, 2007 at 08:11:53PM -0400, Dave Jones wrote:
 > On Fri, Oct 12, 2007 at 04:14:54PM -0700, Linus Torvalds wrote:
 >  > 
 >  > 
 >  > On Fri, 12 Oct 2007, Dave Jones wrote:
 >  > >
 >  > > Something I find useful is to just do for eg..
 >  > > 
 >  > > git log arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c
 >  > > 
 >  > > from time to time, to figure out when certain changes happened,
 >  > > or even to grep for something in a changelog.
 >  > > With that file moved, git refuses to tell me about the log
 >  > > of a file that doesn't exist, and the log of the moved
 >  > > file in arch/x86 just has a single commit, detailing the move.
 >  > > 
 >  > > Is there an easy way to get the complete log of a file?
 >  > 
 >  > The "--follow" flag will follow renames when doing a log, so a simple
 >  > 
 >  > 	git log --follow arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c
 >  > 
 >  > will do it.
 > 
 > Hrmm.
 > 
 > $ git log --follow arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c
 > fatal: ambiguous argument 'arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c':
 > unknown revision or path not in the working tree.
 > Use '--' to separate paths from revisions
 > 
 > Using --follow on the arch/x86 post-merge file gives me even less info
 > than it does without it :)

duh.

git log --stat --follow arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c

works just fine.  Thanks.

(was running it on the old path)

	Dave
 
-- 
http://www.codemonkey.org.uk
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux