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

Re: filtering out mode-change-only changes

From
PHPete Harlan <pgit@pcharlan.com>
Date
Mar 3, 2012, 22:16 UTC
Message-ID
<4F52984B.5050805@pcharlan.com>
In-Reply-To
<7vsjhts9hu.fsf@alter.siamese.dyndns.org>
On 2/29/2012 11:52 AM, Junio C Hamano wrote:
Show 10 quoted lines
> Neal Kreitzinger<nkreitzinger@gmail.com>  writes:
>
>> A3-2: (Some Desired Options)
>> --name-status learns a new status for file-mode-only changes (ie, "P"
>> for "P"ermissions).
>
> After reading everything above I omitted from your response in my quote, I
> still do not get the feeling that these willy-nilly mode changes that you
> are suffering from is a problem that is general enough to warrant such a
> change, even if such a change is done as an optional feature.
I'll add a vote for the usefulness of the option.

I'm dealing with a repo whose history occasionally has commits that do a handful of real changes mixed in with tens of thousands of mistaken mode changes. (New workflow is fixed but it is infeasible to fix history at this point.) It's cumbersome filtering away the noise.

If Git's diff engine could ignore mode changes that would be a big help.
Regards,

-- Pete Harlan pgit@pcharlan.com

Previous: Junio C HamanoNext: Junio C Hamano
Message 6 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.