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

Re: [PATCH] diff: squelch empty diffs even more

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 14, 2007, 21:29 UTC
Message-ID
<7v643hbyao.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<46C21A25.2040304@lsrfire.ath.cx>
René Scharfe <rene.scharfe@lsrfire.ath.cx> writes:
> When we compare two non-tracked files or explicitly specify
> --no-index then the suggestion to run git-status is not helpful.

That observation is correct but how does skip_stat_unmatch count up in such a case? Shouldn't diffcore_skip_stat_unmatch() function be taught about such a "fake" filepair that did not come from git, and ignore the stat differences?

Previous: René ScharfeNext: René Scharfe
Message 2 of 5 in “diff: squelch empty diffs even more”
  1. diff: squelch empty diffs even moreRené Scharfe, Aug 14, 2007
  2. Junio C HamanoAug 14, 2007
  3. René ScharfeAug 14, 2007
  4. Junio C HamanoAug 14, 2007
  5. Johannes SchindelinAug 15, 2007

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.