run git status before enabling clean filter

Avoids annex.largefiles inconsitency and also avoids a lot of
unneccessary calls to the clean filter when a large repo's clone
is being initialized.

This commit was supported by the NSF-funded DataLad project.
This commit is contained in:
Joey Hess 2018-08-28 10:26:51 -04:00
parent 82b28a8487
commit 401a79675b
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
6 changed files with 65 additions and 18 deletions

View file

@ -10,6 +10,7 @@ module Upgrade.V5 where
import Annex.Common
import qualified Annex
import Config
import Config.Smudge
import Annex.InodeSentinal
import Annex.Link
import Annex.Direct