gitlib-utils-1.2.0: Generic utility functions for working with Git repositories

Safe HaskellNone

Git.Utils

Synopsis

Documentation

data OidText Source

Constructors

OidText 

Fields

getOidT :: Text
 

copyOid :: (Repository m, Repository (t m), MonadTrans t) => Oid m -> t m (Oid (t m))Source

allMissingObjects :: Repository m => [Object m] -> m [Object m]Source

Given a list of objects (commit and top-level trees) return by missingObjects, expand it to include all subtrees and blobs as well. Ordering is preserved.

genericPushCommit :: (Repository m, Repository (t m), MonadTrans t, MonadIO (t m)) => CommitName m -> Text -> t m (CommitRef (t m))Source

Fast-forward push a reference between repositories using a recursive copy. This can be extremely slow, but always works.

data PinnedEntry m Source

Constructors

PinnedEntry