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

RE: git history and file moves

From
Moore, Robert <robert.moore@intel.com>
Date
Oct 24, 2008, 22:01 UTC
Message-ID
<4911F71203A09E4D9981D27F9D8308580AA80062@orsmsx503.amr.corp.intel.com>
In-Reply-To
<81b0412b0810241443t75e2022fg984df400585cb254@mail.gmail.com>
What we are seeing is an issue after we do a file move to a new directory. Once moved, the previous history of the file is not readily available. One needs to know to use --follow on the command line, and worse, gitweb does not show the full history at all.
We have almost a decade of history on the project, from several different source control systems. We often find it useful to go back and find out when something changed, so we want to keep it and have it easily available.
Show 24 quoted lines
>-----Original Message-----
>From: Alex Riesen [mailto:raa.lkml@gmail.com]
>Sent: Friday, October 24, 2008 2:43 PM
>To: Moore, Robert
>Cc: Michael J Gruber; Lin, Ming M; git@vger.kernel.org
>Subject: Re: git history and file moves
>
>2008/10/24 Moore, Robert <robert.moore@intel.com>:
>> Here's what we have:
>>
>> /var/www/cgi-bin/gitweb.acpica/gitweb.conf
>>
>> Containts this : GITWEB_CSS = "/icons/gitweb.css";
>>
>> What should we add to automatically get all file history?
>>
>
>Nothing. It is the default. You can change the variable Michael
>mentioned to use "-M -M -C -C" but it is very-very slow on any
>kind of history worth its commits.
>
>And you almost never talk about _file_ history in Git. It is all
>_project_ history, filtered for commits which touch the file you're
>interested in at the moment of looking.
Previous: Alex RiesenNext: Jakub Narebski
Message 6 of 7 in “git history and file moves”
  1. Lin MingOct 22, 2008
  2. Alex RiesenOct 22, 2008
  3. Michael J GruberOct 22, 2008
  4. Moore, RobertOct 24, 2008
  5. Alex RiesenOct 24, 2008
  6. Moore, RobertOct 24, 2008
  7. Jakub NarebskiOct 24, 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.