gitlib-cmdline-1.3.1: Gitlib repository backend that uses the git command-line tool.

Safe HaskellNone

Git.CmdLine

Synopsis

Documentation

git_ :: [Text] -> Sh ()Source

doRunGit :: MonadGit m => (FilePath -> [Text] -> Sh a) -> [Text] -> Sh () -> CmdLineRepository m aSource

mkOid :: Monad m => Text -> m SHASource

cliNewTreeBuilder :: MonadGit m => Maybe (Tree m) -> CmdLineRepository m (TreeBuilder m)Source

Create a new, empty tree.

Since empty trees cannot exist in Git, attempting to write out an empty tree is a no-op.