public string GeneratePathComment(string path, IEnumerable <ChangeSetItem> items, CommitMessageFormat messageFormat, MonoDevelop.Projects.AuthorInformation userInfo) { ChangeLogWriter writer = new ChangeLogWriter(path, userInfo); writer.MessageFormat = messageFormat; foreach (ChangeSetItem item in items) { writer.AddFile(item.Comment, item.LocalPath); } return(writer.ToString()); }
public string GenerateGlobalComment(CommitMessageFormat format, MonoDevelop.Projects.AuthorInformation userInfo) { return(GeneratePathComment(basePath, items, format, userInfo)); }