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

Re: BUGREPORT: Modified files on a fresh clone on M2 MacBook Pro

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 22, 2023, 19:18 UTC
Message-ID
<xmqq355wegsd.fsf@gitster.g>
In-Reply-To
<73af529d-e918-445d-b0ee-9506e28188af@app.fastmail.com>
"Kristoffer Haugsbakk" <kristofferhaugsbakk@fastmail.com> writes:
Show 21 quoted lines
>             modified:   "corp/Sn\303\245sningen 2013/50 uke/Dramatikk og kj\303\246rlighet - S\303\270rsamisk.doc"
>
>     no changes added to commit (use "git add" and/or "git commit -a")
>
> Note that this `doc` extension was not covered by your update.
>
> But it becomes clean if I remove this line:
>
>     $ git diff
>     diff --git a/.gitattributes b/.gitattributes
>     index bbd8c0db810d..3959fefadfc1 100644
>     --- a/.gitattributes
>     +++ b/.gitattributes
>     @@ -2,7 +2,6 @@
>      # DO NOT EDIT - the file is updated via the template system.
>
>      # Some defaults:
>     -* text   eol=lf
>      *.png    binary
>      *.jpg    binary
>      *.jpeg   binary

The attribute file says "assume everything is text unless otherwise noted below", which you probably should not lose. Instead, I would declare *.doc are also binary by appending a new entry at the end of the file, if I were managing that project.

Previous: Sjur MoshagenNext: Kristoffer Haugsbakk
Message 6 of 12 in “BUGREPORT: Modified files on a fresh clone on M2 MacBook Pro”
  1. Sjur MoshagenMar 22, 2023
  2. Emily ShafferMar 22, 2023
  3. Sjur MoshagenMar 22, 2023
  4. Kristoffer HaugsbakkMar 22, 2023
  5. Sjur MoshagenMar 22, 2023
  6. Junio C HamanoMar 22, 2023
  7. Kristoffer HaugsbakkMar 22, 2023
  8. Sjur MoshagenMar 22, 2023
  9. Jeff KingMar 22, 2023
  10. Jeff KingMar 22, 2023
  11. Torsten BögershausenMar 23, 2023
  12. Junio C HamanoMar 24, 2023

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.