From: "Alf Clement" <alf.clement@gmail.com>
To: "Jakub Narebski" <jnareb@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: git-diff question
Date: Thu, 19 Jun 2008 17:55:37 +0200 [thread overview]
Message-ID: <556d90580806190855j7f247854m725ed7e6efa48f0b@mail.gmail.com> (raw)
In-Reply-To: <m3tzfpmy2b.fsf@localhost.localdomain>
Hi,
regarding git diff --help:
--diff-filter=[ACDMRTUXB*]
Select only files that are Added (A), Copied (C), Deleted (D),
Modified (M), Renamed (R), have their type (mode) changed (T),
are Unmerged (U), are Unknown (X), or have had their pairing
and git diff reports mode changes...
CU,
Alf
On Thu, Jun 19, 2008 at 2:03 PM, Jakub Narebski <jnareb@gmail.com> wrote:
> "Alf Clement" <alf.clement@gmail.com> writes:
>
>> $ git diff
>> diff --git a/Firmware/Firmware.ccscc b/Firmware/Firmware.ccscc
>> old mode 100755
>> new mode 100644
>> ....
>> returns a list of files where the mode was changed, which seems to be
>> correct. Also
>> modified files are flaged.
>> I wonder why
>> $ git diff --diff-filter=T
>> outputs nothing.
>
> Isn't 'T' about *t*ype change, i.e. change between ordinary file,
> symlink, directory and commit (submodule)?
>
>> I am running this under Cygwin.
>
> Or perhaps this is a cause.
>
> --
> Jakub Narebski
> Poland
> ShadeHawk on #git
>
prev parent reply other threads:[~2008-06-19 15:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-19 11:48 git-diff question Alf Clement
2008-06-19 12:03 ` Jakub Narebski
2008-06-19 15:55 ` Alf Clement [this message]
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=556d90580806190855j7f247854m725ed7e6efa48f0b@mail.gmail.com \
--to=alf.clement@gmail.com \
--cc=git@vger.kernel.org \
--cc=jnareb@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).