Fix bug that caused unlocked annexed dotfiles to be added to git by the smudge filter when annex.dotfiles was not set.

This commit is contained in:
Joey Hess 2020-03-09 14:20:02 -04:00
parent 96ed67671d
commit 1978a24207
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
4 changed files with 22 additions and 1 deletions

View file

@ -176,7 +176,7 @@ shouldAnnex file indexmeta moldkey = ifM (annexGitAddToAnnex <$> Annex.getGitCon
checkmatcher d
| dotfile file = ifM (getGitConfigVal annexDotFiles)
( go
, return False
, d
)
| otherwise = go
where