All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dave Jones <davej@redhat.com>
To: Linus Torvalds <torvalds@linux-foundation.org>,
	Thomas Gleixner <tglx@linutronix.de>,
	Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: arch merge fallout.
Date: Fri, 12 Oct 2007 20:25:45 -0400	[thread overview]
Message-ID: <20071013002545.GB2383@redhat.com> (raw)
In-Reply-To: <20071013001153.GA30688@redhat.com>

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

  reply	other threads:[~2007-10-13  0:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20071012035743.GA12897@redhat.com>
     [not found] ` <alpine.LFD.0.999.0710112103240.6887@woody.linux-foundation.org>
2007-10-12 18:25   ` arch merge fallout Dave Jones
2007-10-12 21:58     ` Linus Torvalds
2007-10-12 22:12       ` Dave Jones
2007-10-12 22:43         ` Linus Torvalds
2007-10-12 22:52           ` Dave Jones
2007-10-12 23:14             ` Linus Torvalds
2007-10-13  0:11               ` Dave Jones
2007-10-13  0:25                 ` Dave Jones [this message]
2007-10-13  0:32                 ` Linus Torvalds

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071013002545.GB2383@redhat.com \
    --to=davej@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tglx@linutronix.de \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.