git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Damien Wyart <damien.wyart@gmail.com>
To: Patrick Sabin <patrick.just4fun@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: How to git diff files in renamed directories
Date: Thu, 15 Mar 2012 09:51:05 +0100	[thread overview]
Message-ID: <20120315085105.GA27243@brouette> (raw)
In-Reply-To: <CAGATVH7KCr+dJNpx18==3BT8pzsvKeV5aYRWKts7xH0YZ8yaKw@mail.gmail.com>

Hi,

* Patrick Sabin <patrick.just4fun@gmail.com> [2012-03-15 09:32]:
> I want to diff a renamed file (to a different directory) in different
> commits.

You can try the "-C" option to git diff. In some cases, "-C -C" might be
needed (with potentially bad performance).

-- 
Damien

  reply	other threads:[~2012-03-15  9:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-15  8:32 How to git diff files in renamed directories Patrick Sabin
2012-03-15  8:51 ` Damien Wyart [this message]
2012-03-15 10:30 ` Neal Kreitzinger
2012-03-15 20:49 ` Junio C Hamano

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=20120315085105.GA27243@brouette \
    --to=damien.wyart@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=patrick.just4fun@gmail.com \
    /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).