public static Commit Create(string message, Commit parent, Tree tree) { if (tree == null) { throw new ArgumentException("tree must not be null"); } var repo = tree.Repository; var author = Author.GetDefaultAuthor(parent._repo); return(Create(message, parent, tree, author, author, DateTimeOffset.Now)); }