Please describe the problem.

When pushing to a special remote, non-largefiles (Git text files) are not filtered by the wanted setting.

What steps will reproduce the problem?

Push to a directory special remote with exporttree and importtree set yes. The wanted setting filters largefiles, but all Git text files are included even though some are not included in the filter.

What version of git-annex are you using? On what operating system?

10.20231130-g0e9bc415882a5e3a285e004cf9f80936e5762a07 Linux

Please provide any additional information below.

# If you can, paste a complete transcript of the problem occurring here.
# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log


# End of transcript or log.

Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders)