From: "Torsten Bögershausen" <tboegi@web.de>
To: Roman Sandu <r.sandu@gaijin.team>
Cc: Junio C Hamano <gitster@pobox.com>, Johannes Sixt <j6t@kdbg.org>,
git@vger.kernel.org
Subject: Re: Committing crimes with NTFS-3G
Date: Thu, 5 Sep 2024 21:51:39 +0200 [thread overview]
Message-ID: <20240905195139.GA9644@tb-raspi4> (raw)
In-Reply-To: <8a8a7f75-6a2f-4fd9-b3cf-df61129a355a@gaijin.team>
On Tue, Sep 03, 2024 at 08:30:16PM +0300, Roman Sandu wrote:
Side note: Please avoid top-posting here in this list
> .gitattributes is this
> https://github.com/GaijinEntertainment/DagorEngine/blob/main/.gitattributes
> `core.autocrlf` is unset.
That is according to the book, good.
>
> core.filemode is false.
>
> `git ls-files --debug` is extremely useful and I am a tiny bit salty that no
> one suggested it before I spent time learning how to parse the index file in
> C =)
No well, I read this as "thanks for the hint"
> But alas, nothing new, see my previous messages (hopefully they are visible
> to you, I am kind of new to mailing lists).
Yes, everything is here.
>
> `git ls-files --eol` says that worktree uses crlf (which is expected, I
> checked out the repo under windows), while the index uses lf. Can that be
> the reason for Linux git thinking that the index is always out of date?
> Various dev tools work perfectly fine with crlf'd files on Linux.
Yes, that is not the problem for any performance issues.
I did set up a test, kind of.
Exporting a git repo from a Linux NAS to a MacOs laptop, using Samba,
and WLAN.
A simple `git status` takes 4 seconds for 1800 files.
The thing is that Git needs to lstat() each and every file, to find
out if it has been changed.
And if that lstat() call is slow, then `git status` will be slow.
I don't know, if the fs monitor works for your setup ?
https://git-scm.com/docs/git-fsmonitor--daemon
[snip]
prev parent reply other threads:[~2024-09-05 19:51 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-29 20:43 Committing crimes with NTFS-3G Roman Sandu
2024-08-30 0:47 ` brian m. carlson
2024-08-30 12:52 ` Roman Sandu
2024-08-30 15:02 ` brian m. carlson
2024-08-30 19:25 ` Roman Sandu
2024-08-30 15:55 ` brian m. carlson
2024-08-30 22:00 ` Roman Sandu
2024-08-30 4:18 ` Vito Caputo
2024-08-30 4:58 ` Johannes Sixt
2024-08-30 12:41 ` Roman Sandu
2024-08-30 16:28 ` Junio C Hamano
2024-09-03 15:58 ` Torsten Bögershausen
2024-09-03 17:30 ` Roman Sandu
2024-09-05 19:51 ` Torsten Bögershausen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240905195139.GA9644@tb-raspi4 \
--to=tboegi@web.de \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=j6t@kdbg.org \
--cc=r.sandu@gaijin.team \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).