git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tarmigan <tarmigan+git@gmail.com>
To: "Kai Blin" <kai@samba.org>
Cc: git@vger.kernel.org
Subject: Re: Directory renames without breaking git log.
Date: Wed, 3 Sep 2008 17:16:24 -0700	[thread overview]
Message-ID: <905315640809031716j7d74d7a6m51b434f62b011135@mail.gmail.com> (raw)
In-Reply-To: <200809032338.35359.kai@samba.org>

On Wed, Sep 3, 2008 at 2:38 PM, Kai Blin <kai@samba.org> wrote:
> 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

  reply	other threads:[~2008-09-04  0:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-03 21:38 Directory renames without breaking git log Kai Blin
2008-09-04  0:16 ` Tarmigan [this message]
     [not found]   ` <200809040853.36433.kai@samba.org>
2008-09-04 18:35     ` Tarmigan
2008-09-04 19:45   ` Kai Blin
2008-09-04 19:49     ` Junio C Hamano
2008-09-04 20:52       ` Kai Blin
2008-09-04 22:06         ` Junio C Hamano
2008-09-04 20:41     ` Jakub Narebski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=905315640809031716j7d74d7a6m51b434f62b011135@mail.gmail.com \
    --to=tarmigan+git@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=kai@samba.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).