diff options
Diffstat (limited to 'Command')
-rw-r--r-- | Command/Sync.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Command/Sync.hs b/Command/Sync.hs index 85f1f2f2c..e69790799 100644 --- a/Command/Sync.hs +++ b/Command/Sync.hs @@ -39,6 +39,7 @@ import qualified Git.Ref import qualified Git import qualified Remote.Git import Config +import Config.GitConfig import Annex.Wanted import Annex.Content import Command.Get (getKey') @@ -237,7 +238,7 @@ commit o = stopUnless shouldcommit $ next $ next $ do ) where shouldcommit = pure (commitOption o) - <&&> (annexAutoCommit <$> Annex.getGitConfig) + <&&> getGitConfigVal annexAutoCommit commitMsg :: Annex String commitMsg = do |