Thread (1 message) 1 message, 1 author, 2016-06-15

Re: filtering out mode-change-only changes

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:53:10

"Neal Kreitzinger" [off-list ref] writes:
What is the best way to filter out the "mode change only" entries from a 
"name-status diff result" listing of changed files?

Reason-for-this:
get a list of files whose content changed and feed that list into a 
gui-diff-tool for visual review of "merge" (rebase) results.
Later I have some words on this.
... I'd like to see if there is some way that git 
already-does-this-for-you, or if someone already has a script that does 
this.
I do not know about random scripts people write, but there is nothing
built-in.

But *if* the _real_ reason you want to do this is because you do not want
to see unnecessary mode changes caused by your filesystem that screws up
file modes for whatever breakage, perhaps setting core.filemode to false
so that mode changes made to the working tree files by your mode breaking
filesystem might be the real solution.

Of course I do not know if that is the real reason you are asking for that
or not.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help