Re: Directory renames without breaking git log.
- From
- Tarmigan <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