This commit is contained in:
Joey Hess 2024-05-28 12:46:56 -04:00
parent 3318d25c65
commit 14443fd307
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -40,3 +40,13 @@ If git-annex wanted to also avoid this breakage, it could set:
git config fsck.symlinkTargetLength ignore
git config receive.fsck.symlinkTargetLength ignore
git config fetch.fsck.symlinkTargetLength ignore
Of course, that would not help when the bare repo is not git-annex
initialized.
If a git-annex repo is checked out on Windows and has a longer symlink,
this will cause fsck to complain about it, even though git-annex will of
course use an adjusted unlocked branch and so the symlink won't actually be
followed. That seems like a good reason to set these configs. OTOH, there's
no benefit in doing it on Linux, unless some other OS has a longer
`PATH_MAX` than 4096 (Hurd?)