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
SMSjur Moshagen <sjurnm@mac.com>
Date
Mar 22, 2023, 18:47 UTC
Message-ID
<68ACFE61-5D19-43D8-887A-7150E8B90BDB@mac.com>
In-Reply-To
<73af529d-e918-445d-b0ee-9506e28188af@app.fastmail.com>
22.3.2023 kl. 19:22 skrev Kristoffer Haugsbakk <kristofferhaugsbakk@fastmail.com>:
Show 40 quoted lines
> 
> I still get a dirty working repository after a fresh clone (on Linux,
> git version 2.40.0) on your commit 6425cb09a8d0 (Apply changes 127,
> 2023-03-22):
> 
>    $ git status
>    On branch main
>    Your branch is up to date with 'origin/main'.
> 
>    Changes not staged for commit:
>      (use "git add <file>..." to update what will be committed)
>      (use "git restore <file>..." to discard changes in working directory)
>            modified:   "corp/SN\303\205SNINGEN 2014/43 uke/N\303\246ringsliv.doc"
>            modified:   "corp/SN\303\205SNINGEN 2015/26 uke/\303\230lsamling.doc"
>            modified:   "corp/SN\303\205SNINGEN 2015/38 uke /SAK1 -s\303\270rsamisk.doc"
>            modified:   "corp/SN\303\205SNINGEN 2015/38 uke /SAK1.doc"
>            modified:   "corp/Sn\303\245sningen 2012/20 uke/Artig med animasjon - samisk.doc"
>            modified:   "corp/Sn\303\245sningen 2012/20 uke/Artig med animasjon.doc"
>            modified:   "corp/Sn\303\245sningen 2012/4. uke/Mange vil l\303\246re s\303\270rs/Mange vil l\303\246re s\303\270rsamisk - saemien.doc"
>            modified:   "corp/Sn\303\245sningen 2012/4. uke/Mange vil l\303\246re s\303\270rs/Mange vil l\303\246re s\303\270rsamisk.doc"
>            modified:   "corp/Sn\303\245sningen 2012/4. uke/P\303\245 sameskolen/Det er p\303\245 sameskolen jeg f\303\270ler meg hjemme - samisk.doc"
>            modified:   "corp/Sn\303\245sningen 2012/4. uke/P\303\245 sameskolen/Det er p\303\245 sameskolen jeg f\303\270ler meg hjemme.doc"
>            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
Thanks for pointing this out - git status did not return these files for me. Also interesting that you got it on a Linux box, that has not happened to us, cf earlier email in this thread.
I will add this and other missing extensions.

Best, Sjur

Previous: Kristoffer HaugsbakkNext: Junio C Hamano
Message 5 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.