This commit is contained in:
Joey Hess 2023-06-06 13:04:47 -04:00
parent 3efcb58b6a
commit 4437e187e6
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -3,6 +3,10 @@
subject="""comment 2"""
date="2023-06-06T16:50:16Z"
content="""
annex.addunlocked can already be set to a [[git-annex-matching-expression]]
and this allows configuring it differently for different filenames, etc.
This has been supported since 7.20191230.
You can already configure annex.addunlocked with `git-annex config`.
Adding gitattributes for configs is problimatic because querying
@ -10,9 +14,6 @@ for them is not fast. They have to be queried for every file. Also the
gitattributes format is not well suited to complex expressions since the
value cannot contain spaces.
annex.addunlocked can already be set to a [[git-annex-matching-expression]]
and this allows configuring it differently for different filenames, etc.
The only benefit to supporting it in gitattributes would be to configure it
differently in different branches of the repository.