-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Bindings to the git command-line interface -- -- Bindings to the git command-line interface @package cli-git @version 0.2.0.1 module Bindings.Cli.Git type CommitId = Text -- | Create a ProcessSpec for invoking git in a specified -- repository path, using the given arguments. gitProc :: FilePath -> [String] -> ProcessSpec -- | Ensure that the given directory is a clean git repository. If the -- repository has changes, throw an error. ensureCleanGitRepo :: (MonadIO m, MonadLog Output m, MonadError e m, AsProcessFailure e, MonadFail m, AsUnstructuredError e, HasCliConfig e m, MonadMask m) => FilePath -> Bool -> Text -> m () -- | Call git in the specified directory with the given arguments -- and return its standard output stream. Error messages from -- git, if any, are printed with Notice verbosity. readGitProcess :: (MonadIO m, MonadLog Output m, MonadError e m, AsProcessFailure e, MonadFail m, MonadMask m) => FilePath -> [String] -> m Text -- | Modify the ProcessSpec to apply environment flags which ensure -- git has no dependency on external information. Specifically: -- --