git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: tracking renames

From
Jakub Narebski <jnareb@gmail.com>
Date
Mar 4, 2008, 22:19 UTC
Message-ID
<m3zltegmj0.fsf@localhost.localdomain>
In-Reply-To
<20080304141029.52b12065.akpm@linux-foundation.org>
Andrew Morton <akpm@linux-foundation.org> writes:
Show 8 quoted lines
> On Tue, 4 Mar 2008 14:03:54 -0800
> "Harvey Harrison" <harvey.harrison@gmail.com> wrote:
>> 
>> git-whatchanged --follow drivers/watchdog/iTCO_wdt.c
>> 
> 
> Oh.  Thanks.  It seems dumb that one needs to add an option to get
> it to do this.

In "git log <paths>..." or "git whatchanged <paths>..." the <paths> option is "path limiter" and can be a directory. There can be more than one path. And following renames is more costly.

-- 
Jakub Narebski
Poland
ShadeHawk on #git
Previous: Andrew MortonNext: Jean-François Veillette
Message 4 of 9 in “tracking renames”
  1. Andrew MortonMar 4, 2008
  2. Harvey HarrisonMar 4, 2008
  3. Andrew MortonMar 4, 2008
  4. Jakub NarebskiMar 4, 2008
  5. Jean-François VeilletteMar 5, 2008
  6. Jakub NarebskiMar 5, 2008
  7. Steven GrimmMar 7, 2008
  8. Johannes SchindelinMar 5, 2008
  9. Martin LanghoffMar 5, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.