From d75a080faaa49b02a433a8f9dd1bf922897f1e05 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 4 Dec 2015 16:14:11 -0400 Subject: auto-configure filter.annex.smudge and clean on init --- Annex/Init.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Annex') 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 -- cgit v1.2.3