Example #1
0
        public static SimpleCommit FromCommit(Commit commit)
        {
            var result = new SimpleCommit(commit.Sha,
                                          commit.MessageShort,
                                          commit.Committer.When,
                                          commit.BumpsMajorVersion(),
                                          commit.BumpsMinorVersion());

            return(result);
        }