git-monitor 3.1.1.4 → 3.1.1.5
raw patch · 2 files changed
+5/−7 lines, 2 filesdep −monad-loggerdep ~gitlibdep ~gitlib-libgit2dep ~logging
Dependencies removed: monad-logger
Dependency ranges changed: gitlib, gitlib-libgit2, logging
Files
- Main.hs +2/−3
- git-monitor.cabal +3/−4
Main.hs view
@@ -14,7 +14,6 @@ import Control.Logging import Control.Monad import Control.Monad.IO.Class (MonadIO(..))-import Control.Monad.Logger import Control.Monad.Trans.Class import qualified Data.ByteString as B (readFile) import qualified Data.ByteString.Char8 as B8@@ -29,7 +28,7 @@ import Data.Time import Git hiding (Options) import Git.Tree.Working-import Git.Libgit2 (MonadLg, LgRepo, lgFactoryLogger)+import Git.Libgit2 (MonadLg, LgRepo, lgFactory) import Options.Applicative import Prelude hiding (log) import Shelly (silently, shelly, run)@@ -98,7 +97,7 @@ wd = if null wDir then takeDirectory gd else wDir -- Make sure we're in a known branch, and if so, let it begin- forever $ withRepository lgFactoryLogger gd $ do+ forever $ withRepository lgFactory gd $ do log' $ pack $ "Working tree: " ++ wd ref <- lookupReference "HEAD" case ref of
git-monitor.cabal view
@@ -1,5 +1,5 @@ Name: git-monitor-Version: 3.1.1.4+Version: 3.1.1.5 Synopsis: Passively snapshots working tree changes efficiently. Description: Passively snapshots working tree changes efficiently.@@ -21,14 +21,13 @@ ghc-options: -Wall -threaded -rtsopts Build-depends: base >= 4 && < 5- , gitlib >= 3.0.1- , gitlib-libgit2 >= 3.0.0+ , gitlib >= 3.1.1+ , gitlib-libgit2 >= 3.1.1 , bytestring >= 0.9.2.1 , containers >= 0.4.2.1 , directory >= 1.1.0.2 , logging >= 1.3.0 , filepath >= 1.3.0.0- , monad-logger , old-locale >= 1.0.0.4 , optparse-applicative >= 0.10 , shelly >= 0.14