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

Re: Directory renames without breaking git log.

From
TTarmigan <tarmigan+git@gmail.com>
Date
Sep 4, 2008, 00:16 UTC
Message-ID
<905315640809031716j7d74d7a6m51b434f62b011135@mail.gmail.com>
In-Reply-To
<200809032338.35359.kai@samba.org>
On Wed, Sep 3, 2008 at 2:38 PM, Kai Blin <kai@samba.org> wrote:
Show 10 quoted lines
> Hi folks,
>
> in an effort to make Samba development easier, we're trying to merge the
> Samba3 and Samba4 branches into a single branch. In order to do so, we need
> to rename the "source" directories both Samba 3 and Samba 4 have (we're
> planning to use source3 and source4).
>
> Unfortunately, the directories are big enough that git log stops to track the
> renamed files, so e.g. git log ./samba3 does not show the samba3 history. The
> history is not lost, of course, but it's way less intuitive to get it.

You can try setting diff.renamelimit to 0 in your ~/.gitconfig. See Linus's email here for a similar situation in the kernel: http://lwn.net/Articles/292948/

Thanks, Tarmigan

Previous: Kai BlinNext: Kai Blin
Message 2 of 8 in “Directory renames without breaking git log.”
  1. Kai BlinSep 3, 2008
  2. TarmiganSep 4, 2008
  3. Kai BlinSep 4, 2008
  4. Junio C HamanoSep 4, 2008
  5. Kai BlinSep 4, 2008
  6. Junio C HamanoSep 4, 2008
  7. Jakub NarebskiSep 4, 2008
  8. TarmiganSep 4, 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.