git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: filtering out mode-change-only changes

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 29, 2012, 03:40 UTC
Message-ID
<7vmx82wbmr.fsf@alter.siamese.dyndns.org>
In-Reply-To
<jik2le$2lb$1@dough.gmane.org>
"Neal Kreitzinger" <neal@rsss.com> writes:
Show 6 quoted lines
> 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.

Previous: Neal KreitzingerNext: Junio C Hamano
Message 2 of 7 in “filtering out mode-change-only changes”
  1. Neal KreitzingerFeb 29, 2012
  2. Junio C HamanoFeb 29, 2012
  3. Junio C HamanoFeb 29, 2012
  4. Neal KreitzingerFeb 29, 2012
  5. Junio C HamanoFeb 29, 2012
  6. Pete HarlanMar 3, 2012
  7. Junio C HamanoFeb 29, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.