assistant: Fix reversion that caused files to be added locked by default.

92c4a34414 added a new config, but used an
existing config, which defaults to true. Oops!
This commit is contained in:
Joey Hess 2025-10-25 09:17:57 -04:00
commit 00c703e4ef
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 3 additions and 1 deletions

View file

@ -63,7 +63,7 @@ commitThread = namedThread "Committer" $ do
largefilematcher <- liftAnnex largeFilesMatcher
annexdotfiles <- liftAnnex $ getGitConfigVal annexDotFiles
addunlockedmatcher <- liftAnnex $
ifM (annexSupportUnlocked <$> Annex.getGitConfig)
ifM (annexAssistantAllowUnlocked <$> Annex.getGitConfig)
( Just <$> addUnlockedMatcher
, return Nothing
)

View file

@ -2,6 +2,8 @@ git-annex (10.20250930) UNRELEASED; urgency=medium
* Support ssh remotes with '#' and '?' in the path to the repository,
the same way git does.
* assistant: Fix reversion that caused files to be added locked by
default.
-- Joey Hess <id@joeyh.name> Mon, 20 Oct 2025 15:22:30 -0400