* git-diff question
@ 2008-06-19 11:48 Alf Clement
2008-06-19 12:03 ` Jakub Narebski
0 siblings, 1 reply; 3+ messages in thread
From: Alf Clement @ 2008-06-19 11:48 UTC (permalink / raw)
To: git
Hi all,
$ 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.
I am running this under cygwin.
Thanks,
Alf
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: git-diff question
2008-06-19 11:48 git-diff question Alf Clement
@ 2008-06-19 12:03 ` Jakub Narebski
2008-06-19 15:55 ` Alf Clement
0 siblings, 1 reply; 3+ messages in thread
From: Jakub Narebski @ 2008-06-19 12:03 UTC (permalink / raw)
To: Alf Clement; +Cc: git
"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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: git-diff question
2008-06-19 12:03 ` Jakub Narebski
@ 2008-06-19 15:55 ` Alf Clement
0 siblings, 0 replies; 3+ messages in thread
From: Alf Clement @ 2008-06-19 15:55 UTC (permalink / raw)
To: Jakub Narebski; +Cc: git
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
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-06-19 15:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).