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

Re: Odd issue - The Diffs That WILL NOT DIE.

From
Jeff King <peff@peff.net>
Date
Dec 7, 2011, 22:03 UTC
Message-ID
<20111207220345.GA21596@sigill.intra.peff.net>
In-Reply-To
<CAJ8P3RCPt9Kwi1F7_TEkZQhkm1mwR_TFKhYszS5LL50kXU8oNQ@mail.gmail.com>
On Wed, Dec 07, 2011 at 11:54:26AM -0500, Chris Patti wrote:
Show 6 quoted lines
> OK.  Let me give you a very specific series of commands, sorry about
> the poor question / report (Not convinced it's a bug, probably pilot
> error?)
> 
> If my understanding of the way Git works is correct, there should be
> NO pending diffs in a freshly cloned repository, yes?

Yes. It's probably a bug, perhaps related to the case-insensitive filesystem (we've seen similar weird "phantom changes right after clone" bugs before).

Show 16 quoted lines
> 11:35][admin@Hiram-Abiff-2:~/src]$ rm -rf framework/
> [11:37][admin@Hiram-Abiff-2:~/src]$
> [11:44][admin@Hiram-Abiff-2:~/src]$ git clone
> ssh://git.bluestatedigital.com/home/git/framework.git
> Cloning into 'framework'...
> remote: Counting objects: 378540, done.
> remote: Compressing objects: 100% (100469/100469), done.
> remote: Total 378540 (delta 261046), reused 374685 (delta 258447)
> Receiving objects: 100% (378540/378540), 148.33 MiB | 2.08 MiB/s, done.
> Resolving deltas: 100% (261046/261046), done.
> [11:51][admin@Hiram-Abiff-2:~/src]$ cd framework/
> [11:51][admin@Hiram-Abiff-2:~/src/framework(master)]$ git diff
> diff --git a/app/modules/Core/controllers/CloudSponge.php b/app/modules/Core/con
> index 615a7b3..911d456 100644
> --- a/app/modules/Core/controllers/CloudSponge.php
> +++ b/app/modules/Core/controllers/CloudSponge.php

Are there other files in the repository that differ from this path only in capitalization? Can you show us the output of "git ls-files"?

Is it possible to make this repo public, or at least available privately to git developers?

You mentioned v1.7.8. Do you see the bug with other git versions? If not, can you try bisecting?

-Peff
Previous: Chris PattiNext: Chris Patti
Message 8 of 14 in “Odd issue - The Diffs That WILL NOT DIE.”
  1. Chris PattiDec 6, 2011
  2. Frans KlaverDec 6, 2011
  3. Carlos Martín NietoDec 6, 2011
  4. Chris PattiDec 7, 2011
  5. Philippe VaucherDec 7, 2011
  6. Chris PattiDec 7, 2011
  7. Chris PattiDec 7, 2011
  8. Jeff KingDec 7, 2011
  9. Chris PattiDec 7, 2011
  10. Chris PattiDec 7, 2011
  11. Carlos Martín NietoDec 7, 2011
  12. Jeff KingDec 7, 2011
  13. Robin RosenbergSep 5, 2012
  14. Jeff KingDec 7, 2011

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.