diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-12-04 16:14:11 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-12-04 16:14:11 -0400 |
commit | d75a080faaa49b02a433a8f9dd1bf922897f1e05 (patch) | |
tree | c01b1c3060d858f9e4499f7feb05b04d37122b0f /Annex | |
parent | de1b6019bb6fc1225a2a02cabba8bc3cf193744b (diff) |
auto-configure filter.annex.smudge and clean on init
Diffstat (limited to 'Annex')
-rw-r--r-- | Annex/Init.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Annex/Init.hs b/Annex/Init.hs index 65e9aa474..b00e41218 100644 --- a/Annex/Init.hs +++ b/Annex/Init.hs @@ -85,7 +85,8 @@ initialize' = do unlessM isBare $ hookWrite preCommitHook setDifferences - setVersion supportedVersion + setVersion currentVersion + configureSmudgeFilter ifM (crippledFileSystem <&&> not <$> isBare) ( do enableDirectMode |