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

Re: [BUG?] Fresh clone of jquery.git shows modifications?

From
Eyvind Bernhardsen <eyvind.bernhardsen@gmail.com>
Date
Aug 18, 2010, 19:19 UTC
Message-ID
<200088BC-F39D-407B-97ED-A771AA05E89D@gmail.com>
In-Reply-To
<AANLkTik8RGR4OTeZYsttyBtiywGU7Wtz3gQsTjoqAQPD@mail.gmail.com>
On 18. aug. 2010, at 17.50, Thomas Berg wrote:
Show 9 quoted lines
> Hi,
> 
> On Wed, 2010-08-18 at 15:18 +0200, Eyvind Bernhardsen wrote:
>> Git _is_ giving you a real pristine copy, it's just informing you that your repository is not consistent with the attributes you have set.
> 
> Marking the files as modified is sometimes a very user-unfriendly way
> of informing the user, at least if just want to work with something
> unrelated, and not actually fix those issues. Maybe there is a better
> way?
There may be, but I'm not sure it would be worth the effort.  The reason I started working on CRLF normalization in the first place was because I got tired of seeing spuriously modified files everywhere when using core.autocrlf, so I know how annoying it is.  The difference now is that only people using "mis-attributed" repositories are annoyed, instead of anyone who uses core.autocrlf, and as I wrote elsewhere, I don't expect there to be many repositories where this is a problem.
To be clear: triggering the problem not only requires that a crlf attribute is set to something other than "false", but also that the corresponding file actually contains CRs.
- Eyvind
Previous: Eyvind BernhardsenNext: Thomas Berg
Message 7 of 9 in “[BUG?] Fresh clone of jquery.git shows modifications?”
  1. Will PalmerAug 18, 2010
  2. Eyvind BernhardsenAug 18, 2010
  3. Will PalmerAug 18, 2010
  4. Thomas BergAug 18, 2010
  5. Will PalmerAug 18, 2010
  6. Eyvind BernhardsenAug 18, 2010
  7. Eyvind BernhardsenAug 18, 2010
  8. Thomas BergAug 18, 2010
  9. Eyvind BernhardsenAug 18, 2010

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.