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

Re: history of a renamed file

From
TLTeemu Likonen <tlikonen@iki.fi>
Date
Apr 23, 2008, 14:05 UTC
Message-ID
<20080423140526.GC3291@mithlond.arda.local>
In-Reply-To
<m3y774putc.fsf@localhost.localdomain>
Jakub Narebski wrote (2008-04-23 06:25 -0700):
Show 5 quoted lines
> Christoph Duelli <duelli@melosgmbh.de> writes:
> 
> > Is it possible (ideally with gitk) to view the complete history of
> > what is now new/location/x.c *including* the history of changes that
> > occurred when it stil was some/path/x.c?
> Try --follow option, see git-log(1), although I'm not sure if gitk
> supports it (it should).

gitk certainly accepts '--follow' but the option does not work as expected. For example try

  gitk --follow -- utf8.c
in the Git repository and get surprised. :-)

I noticed the problem two weeks ago and Adam Simpkins elaborated it a bit. See http://thread.gmane.org/gmane.comp.version-control.git/79008

Previous: Christoph Duelli
Message 4 of 4 in “history of a renamed file”
  1. Christoph DuelliApr 23, 2008
  2. Jakub NarebskiApr 23, 2008
  3. Christoph DuelliApr 23, 2008
  4. Teemu LikonenApr 23, 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.