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

filtering out mode-change-only changes

From
NKNeal Kreitzinger <neal@rsss.com>
Date
Feb 29, 2012, 02:31 UTC
Message-ID
<jik2le$2lb$1@dough.gmane.org>

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.

Partial-Solutions: --name-status does not have mode-change info. --raw has mode change info but I would have to parse it out and compare it myself. --summary has that info, but not the content modification info.

Before I write a script to discern "mode-change-only changes" and remove them from the list of changed files (thus leaving only content-changed files in the list), 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.

Thanks in advance for any tips.

v/r, neal

Next: Junio C Hamano
Message 1 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.