gitlib-0.7.0: Higher-level types for working with hlibgit2

Safe HaskellNone

Data.Git.Commit

Synopsis

Documentation

createCommit :: Repository -> Signature -> CommitSource

Create a new, empty commit.

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

writeCommit :: Commit -> Maybe Text -> IO CommitSource

Write out a commit to its repository. If it has already been written, nothing will happen.