git-diff question

Subsystems: the rest

3 messages, 2 authors, 2016-06-15 · open the first message on its own page

git-diff question

From: Alf Clement <hidden>
Date: 2016-06-15 22:44:47

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

Re: git-diff question

From: Jakub Narebski <hidden>
Date: 2016-06-15 22:44:47

"Alf Clement" [off-list ref] writes:
quoted hunk
$ 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

Re: git-diff question

From: Alf Clement <hidden>
Date: 2016-06-15 22:44:47

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 [off-list ref] wrote:
"Alf Clement" [off-list ref] writes:
quoted
$ 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)?
quoted
I am running this under Cygwin.
Or perhaps this is a cause.

--
Jakub Narebski
Poland
ShadeHawk on #git
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help